diff --git a/pkgs/tools/package-management/clib/default.nix b/pkgs/tools/package-management/clib/default.nix new file mode 100644 index 00000000000..ae1213aee7c --- /dev/null +++ b/pkgs/tools/package-management/clib/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e35ac93700e..ada3e3bd1f7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };