halfempty: init at 0.30

This commit is contained in:
Franz Pletz 2020-02-01 13:54:05 +01:00
parent 41483340c4
commit 80c99eedef
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
2 changed files with 39 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -10181,6 +10181,8 @@ in
hadolint = haskell.lib.justStaticExecutables haskellPackages.hadolint;
halfempty = callPackage ../development/tools/halfempty {};
hcloud = callPackage ../development/tools/hcloud { };
help2man = callPackage ../development/tools/misc/help2man { };