nixpkgs/pkgs/tools/package-management/clib/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
562 B
Nix
Raw Normal View History

{ 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";
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
};
makeFlags = [ "PREFIX=$(out)" ];
2015-06-23 00:48:41 +00:00
buildInputs = [ curl ];
meta = with lib; {
2015-06-23 00:48:41 +00:00
description = "C micro-package manager";
homepage = "https://github.com/clibs/clib";
2015-06-23 00:48:41 +00:00
license = licenses.mit;
maintainers = with maintainers; [ jb55 ];
platforms = platforms.all;
};
}