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