2016-07-02 03:46:57 -07:00
|
|
|
{ stdenv, fetchFromGitHub, curl }:
|
2015-06-22 17:48:41 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-09-26 02:18:52 -07:00
|
|
|
version = "1.11.2";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "clib";
|
2015-06-22 17:48:41 -07:00
|
|
|
|
2016-07-02 03:46:57 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
owner = "clibs";
|
|
|
|
repo = "clib";
|
2019-09-26 02:18:52 -07:00
|
|
|
sha256 = "03q5l873zc1dm478f35ibqandypakf47hzqb5gjpnpbcyb2m2jxz";
|
2015-06-22 17:48:41 -07:00
|
|
|
};
|
|
|
|
|
2016-02-26 09:38:15 -08:00
|
|
|
hardeningDisable = [ "fortify" ];
|
2016-02-12 10:50:28 -08:00
|
|
|
|
2019-10-27 06:03:25 -07:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2015-06-22 17:48:41 -07:00
|
|
|
|
|
|
|
buildInputs = [ curl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "C micro-package manager";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/clibs/clib";
|
2015-06-22 17:48:41 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jb55 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|