mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
cmph: init at 2.0.2 (#394955)
This commit is contained in:
26
pkgs/by-name/cm/cmph/package.nix
Normal file
26
pkgs/by-name/cm/cmph/package.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cmph";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://deac-ams.dl.sourceforge.net/project/cmph/v${finalAttrs.version}/cmph-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-Nl8egFZADUYPHue/r9vzfV7mx46PRyO/SzwIHIlzPx4=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Free minimal perfect hash C library, providing several algorithms in the literature in a consistent, ease to use, API";
|
||||
homepage = "https://sourceforge.net/projects/cmph/";
|
||||
license = with lib.licenses; [
|
||||
gpl2
|
||||
mpl11
|
||||
];
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user