2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, curl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "1.11.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "clib";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
owner = "clibs";
|
|
|
|
repo = "clib";
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "0cxldyx5bsld8gdasqpqlnzyap294hlkgcjyw3vlzlxcb0izjy8i";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
hardeningDisable = [ "fortify" ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
buildInputs = [ curl ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "C micro-package manager";
|
|
|
|
homepage = "https://github.com/clibs/clib";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jb55 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|