forked from mirrors/nixpkgs
clib: a micro-package manager for C
This commit is contained in:
parent
fd829968c7
commit
634d9eb4c1
23
pkgs/tools/package-management/clib/default.nix
Normal file
23
pkgs/tools/package-management/clib/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, fetchzip, curl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.4.2";
|
||||
name = "clib-${version}";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/clibs/clib/archive/${version}.zip";
|
||||
sha256 = "0hbi5hf4w0iim96h89j7krxv61x92ffxjbldxp3zk92m5sgpldnm";
|
||||
};
|
||||
|
||||
makeFlags = "PREFIX=$(out)";
|
||||
|
||||
buildInputs = [ curl ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "C micro-package manager";
|
||||
homepage = https://github.com/clibs/clib;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jb55 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -789,6 +789,8 @@ let
|
|||
|
||||
cloud-init = callPackage ../tools/virtualization/cloud-init { };
|
||||
|
||||
clib = callPackage ../tools/package-management/clib { };
|
||||
|
||||
consul = goPackages.consul;
|
||||
|
||||
consul-ui = callPackage ../servers/consul/ui.nix { };
|
||||
|
|
Loading…
Reference in a new issue