diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2020-02-01 13:54:05 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2020-02-01 14:20:51 +0100 |
commit | 80c99eedef827f2a76602dbbe354921991b9755a (patch) | |
tree | 590b3c615584cec17de4d935d63a19c268056d3a /pkgs/development/tools/halfempty | |
parent | 41483340c47f5f37277c9c293b80db8679157178 (diff) | |
download | nixpkgs-80c99eedef827f2a76602dbbe354921991b9755a.tar nixpkgs-80c99eedef827f2a76602dbbe354921991b9755a.tar.gz nixpkgs-80c99eedef827f2a76602dbbe354921991b9755a.tar.bz2 nixpkgs-80c99eedef827f2a76602dbbe354921991b9755a.tar.lz nixpkgs-80c99eedef827f2a76602dbbe354921991b9755a.tar.xz nixpkgs-80c99eedef827f2a76602dbbe354921991b9755a.tar.zst nixpkgs-80c99eedef827f2a76602dbbe354921991b9755a.zip |
halfempty: init at 0.30
Diffstat (limited to 'pkgs/development/tools/halfempty')
-rw-r--r-- | pkgs/development/tools/halfempty/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/tools/halfempty/default.nix b/pkgs/development/tools/halfempty/default.nix new file mode 100644 index 00000000000..e576b2321c6 --- /dev/null +++ b/pkgs/development/tools/halfempty/default.nix @@ -0,0 +1,37 @@ +{ lib, stdenv, fetchFromGitHub, pkgconfig, glib, utillinux, scowl }: + +stdenv.mkDerivation rec { + pname = "halfempty"; + version = "0.30"; + + src = fetchFromGitHub { + owner = "googleprojectzero"; + repo = pname; + rev = "v${version}"; + sha256 = "0838pw0ccjvlxmjygzrnppz1fx1a10vjzdgjbxgb4wgpqjr8v6vc"; + }; + + nativeBuildInputs = [ pkgconfig utillinux ]; + buildInputs = [ glib ]; + + enableParallelBuilding = true; + + postPatch = '' + substituteInPlace test/Makefile \ + --replace '/usr/share/dict/words' '${scowl}/share/dict/words.txt' + ''; + + installPhase = '' + install -vDt $out/bin halfempty + ''; + + doCheck = true; + checkTarget = "test"; + + meta = { + description = "Fast, parallel test case minimization tool"; + homepage = "https://github.com/googleprojectzero/halfempty/"; + maintainers = with lib.maintainers; [ fpletz ]; + license = with lib.licenses; [ asl20 ]; + }; +} |