2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, curl }:
|
2015-06-23 00:48:41 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-01-21 14:30:30 +00:00
|
|
|
version = "2.8.3";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "clib";
|
2015-06-23 00:48:41 +00:00
|
|
|
|
2016-07-02 10:46:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
owner = "clibs";
|
|
|
|
repo = "clib";
|
2023-01-21 14:30:30 +00:00
|
|
|
sha256 = "sha256-Ld6u+F25SOyYr+JWXVmn5G8grQ39eN8EY7j77WNycEE=";
|
2015-06-23 00:48:41 +00:00
|
|
|
};
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2015-06-23 00:48:41 +00:00
|
|
|
|
|
|
|
buildInputs = [ curl ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-06-23 00:48:41 +00:00
|
|
|
description = "C micro-package manager";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/clibs/clib";
|
2015-06-23 00:48:41 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jb55 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|