mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #8468 from jb55/clib-patch
clib: a micro-package manager for C
This commit is contained in:
commit
3baa1b97c0
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 New Issue
Block a user