3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/package-management/clib/default.nix

26 lines
562 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, curl }:
2015-06-23 01:48:41 +01:00
stdenv.mkDerivation rec {
2022-04-07 10:35:29 +01:00
version = "2.8.1";
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";
2022-04-07 10:35:29 +01:00
sha256 = "sha256-AzPpGwtZemKX2r/XKyNTJ+lVwU1QUxkB2OywtCwTAWs=";
2015-06-23 01:48:41 +01:00
};
makeFlags = [ "PREFIX=$(out)" ];
2015-06-23 01:48:41 +01:00
buildInputs = [ curl ];
meta = with lib; {
2015-06-23 01:48:41 +01:00
description = "C micro-package manager";
homepage = "https://github.com/clibs/clib";
2015-06-23 01:48:41 +01:00
license = licenses.mit;
maintainers = with maintainers; [ jb55 ];
platforms = platforms.all;
};
}