nixpkgs/pkgs/tools/package-management/clib/default.nix
2015-06-23 00:35:03 -07:00

24 lines
556 B
Nix

{ 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;
};
}