2016-07-02 03:46:57 -07:00
|
|
|
{ stdenv, fetchFromGitHub, curl }:
|
2015-06-22 17:48:41 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-09-07 10:19:10 -07:00
|
|
|
version = "1.8.1";
|
2015-06-22 17:48:41 -07:00
|
|
|
name = "clib-${version}";
|
|
|
|
|
2016-07-02 03:46:57 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
owner = "clibs";
|
|
|
|
repo = "clib";
|
2018-09-07 10:19:10 -07:00
|
|
|
sha256 = "1kl8amlw0106jsvv71a7nifhff1jdvgsrxr7l7hfr75i506q8976";
|
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
|
|
|
|
2015-06-22 17:48:41 -07: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;
|
|
|
|
};
|
|
|
|
}
|