lol
at 23.05-pre 29 lines 730 B view raw
1{ lib, stdenv, fetchFromGitHub, boost, cmake, curl, ruby }: 2 3stdenv.mkDerivation rec { 4 pname = "leatherman"; 5 version = "1.12.8"; 6 7 src = fetchFromGitHub { 8 sha256 = "sha256-5xcwktlwgP9Ltild4BliaGJBqlheDLSTKQLZjzK+nGk="; 9 rev = version; 10 repo = "leatherman"; 11 owner = "puppetlabs"; 12 }; 13 14 cmakeFlags = [ "-DLEATHERMAN_ENABLE_TESTING=OFF" ]; 15 16 NIX_CFLAGS_COMPILE = "-Wno-error"; 17 18 nativeBuildInputs = [ cmake ]; 19 buildInputs = [ boost curl ruby ]; 20 21 meta = with lib; { 22 homepage = "https://github.com/puppetlabs/leatherman/"; 23 description = "A collection of C++ and CMake utility libraries"; 24 license = licenses.asl20; 25 maintainers = [ maintainers.womfoo ]; 26 platforms = platforms.unix; 27 }; 28 29}