mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
26 lines
586 B
Nix
26 lines
586 B
Nix
{ stdenv, fetchzip, curl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.4.2";
|
|
name = "clib-${version}";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/clibs/clib/archive/${version}.zip";
|
|
sha256 = "0hbi5hf4w0iim96h89j7krxv61x92ffxjbldxp3zk92m5sgpldnm";
|
|
};
|
|
|
|
hardening_fortify = false;
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
buildInputs = [ curl ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C micro-package manager";
|
|
homepage = https://github.com/clibs/clib;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jb55 ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|