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