1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/package-management/clib/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
596 B
Nix

{ stdenv, fetchFromGitHub, curl }:
stdenv.mkDerivation rec {
version = "1.8.1";
pname = "clib";
src = fetchFromGitHub {
rev = version;
owner = "clibs";
repo = "clib";
sha256 = "1kl8amlw0106jsvv71a7nifhff1jdvgsrxr7l7hfr75i506q8976";
};
hardeningDisable = [ "fortify" ];
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;
};
}