mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
26 lines
562 B
Nix
26 lines
562 B
Nix
{ lib, stdenv, fetchFromGitHub, curl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.8.1";
|
|
pname = "clib";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = version;
|
|
owner = "clibs";
|
|
repo = "clib";
|
|
sha256 = "sha256-AzPpGwtZemKX2r/XKyNTJ+lVwU1QUxkB2OywtCwTAWs=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|