2016-07-02 12:46:57 +02:00
|
|
|
{ stdenv, fetchFromGitHub, curl }:
|
2015-06-23 02:48:41 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-12 20:39:32 +02:00
|
|
|
version = "1.8.0";
|
2015-06-23 02:48:41 +02:00
|
|
|
name = "clib-${version}";
|
|
|
|
|
2016-07-02 12:46:57 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
owner = "clibs";
|
|
|
|
repo = "clib";
|
2017-08-12 20:39:32 +02:00
|
|
|
sha256 = "0w1qiwq0jjrk8p848bmwxq4wvzhbd2zghq3qm8ylaj3z0xdw7ppk";
|
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
|
|
|
|
2015-06-23 02:48:41 +02: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;
|
|
|
|
};
|
|
|
|
}
|