default.nix (685B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 }: 6 7 stdenv.mkDerivation (finalAttrs: { 8 pname = "ff-tools"; 9 version = "0-unstable-2019-06-08"; 10 11 src = fetchFromGitHub { 12 owner = "sirjofri"; 13 repo = "ff-tools"; 14 rev = "ca02af149a0915caae2c4b8de39baac21d3e596b"; 15 hash = "sha256-V++8FI8u7N9ALDjoAyd/wD7vg/43E9D/wuwwKiB1NfQ="; 16 }; 17 18 makeFlags = [ "CC:=$(CC)" ]; 19 20 installFlags = [ "PREFIX=$(out)" ]; 21 22 preInstall = "mkdir -p $out/bin"; 23 24 meta = { 25 description = "A collection of farbfeld tools"; 26 homepage = "https://github.com/sirjofri/ff-tools"; 27 license = lib.licenses.free; 28 maintainers = [ lib.maintainers.sikmir ]; 29 platforms = lib.platforms.unix; 30 }; 31 })