depot/third_party/nixpkgs/pkgs/tools/package-management/clib/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

25 lines
562 B
Nix

{ lib, stdenv, fetchFromGitHub, curl }:
stdenv.mkDerivation rec {
version = "2.8.3";
pname = "clib";
src = fetchFromGitHub {
rev = version;
owner = "clibs";
repo = "clib";
sha256 = "sha256-Ld6u+F25SOyYr+JWXVmn5G8grQ39eN8EY7j77WNycEE=";
};
makeFlags = [ "PREFIX=$(out)" ];
buildInputs = [ curl ];
meta = with lib; {
description = "C micro-package manager";
homepage = "https://github.com/clibs/clib";
license = licenses.mit;
maintainers = with maintainers; [ jb55 ];
platforms = platforms.all;
};
}