depot/pkgs/tools/package-management/clib/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

25 lines
562 B
Nix

{ lib, stdenv, fetchFromGitHub, curl }:
stdenv.mkDerivation rec {
version = "2.8.7";
pname = "clib";
src = fetchFromGitHub {
rev = version;
owner = "clibs";
repo = "clib";
sha256 = "sha256-uL8prMk2DrYLjCmZW8DdbCg5FJ5uksT3vIATyOW2ZzY=";
};
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;
};
}