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

28 lines
601 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, curl }:
2015-06-23 00:48:41 +00:00
stdenv.mkDerivation rec {
2020-07-24 15:28:37 +00:00
version = "1.11.4";
pname = "clib";
2015-06-23 00:48:41 +00:00
2016-07-02 10:46:57 +00:00
src = fetchFromGitHub {
rev = version;
owner = "clibs";
repo = "clib";
2020-07-24 15:28:37 +00:00
sha256 = "0cxldyx5bsld8gdasqpqlnzyap294hlkgcjyw3vlzlxcb0izjy8i";
2015-06-23 00:48:41 +00:00
};
hardeningDisable = [ "fortify" ];
2016-02-12 18:50:28 +00:00
makeFlags = [ "PREFIX=$(out)" ];
2015-06-23 00:48:41 +00:00
buildInputs = [ curl ];
meta = with lib; {
2015-06-23 00:48:41 +00:00
description = "C micro-package manager";
homepage = "https://github.com/clibs/clib";
2015-06-23 00:48:41 +00:00
license = licenses.mit;
maintainers = with maintainers; [ jb55 ];
platforms = platforms.all;
};
}