nixpkgs/pkgs/development/libraries/leatherman/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

27 lines
647 B
Nix

{ stdenv, fetchFromGitHub, boost, cmake, curl, ruby }:
stdenv.mkDerivation rec {
pname = "leatherman";
version = "1.7.0";
src = fetchFromGitHub {
sha256 = "0n6vcbc43hdaxg5inl2b43bsksdkj3k0qxis6gkkclipivp8pz0p";
rev = version;
repo = "leatherman";
owner = "puppetlabs";
};
buildInputs = [ boost cmake curl ruby ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://github.com/puppetlabs/leatherman/;
description = "A collection of C++ and CMake utility libraries";
license = licenses.asl20;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux;
};
}