nixpkgs/pkgs/tools/package-management/clib/default.nix

28 lines
606 B
Nix
Raw Normal View History

2016-07-02 10:46:57 +00:00
{ stdenv, fetchFromGitHub, curl }:
2015-06-23 00:48:41 +00:00
stdenv.mkDerivation rec {
2016-07-02 10:46:57 +00:00
version = "1.7.0";
2015-06-23 00:48:41 +00:00
name = "clib-${version}";
2016-07-02 10:46:57 +00:00
src = fetchFromGitHub {
rev = version;
owner = "clibs";
repo = "clib";
sha256 = "08n2i3dyh5vnrb74a6wlqqn67c9nwkq0v0v651zzha495mqbciq7";
2015-06-23 00:48:41 +00:00
};
hardeningDisable = [ "fortify" ];
2016-02-12 18:50:28 +00:00
2015-06-23 00:48:41 +00:00
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;
};
}