3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #30568 from kquick/theft

theft: init at 0.4.3
This commit is contained in:
Peter Hoeg 2017-10-31 15:15:17 +08:00 committed by GitHub
commit f8cbc642cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "0.4.3";
name = "theft-${version}";
src = fetchFromGitHub {
owner = "silentbicycle";
repo = "theft";
rev = "v${version}";
sha256 = "1ibh8np12lafnrsrvjbbzlyq45zq654939x0y22vdnc6s8dpbhw4";
};
preConfigure = "patchShebangs ./scripts/mk_bits_lut";
doCheck = true;
checkTarget = "test";
installFlags = [ "PREFIX=$(out)" ];
postInstall = "install -m644 vendor/greatest.h $out/include/";
meta = {
description = "A C library for property-based testing";
platforms = stdenv.lib.platforms.linux;
homepage = "http://github.com/silentbicycle/theft/";
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.kquick ];
};
}

View file

@ -10791,6 +10791,8 @@ with pkgs;
tet = callPackage ../development/tools/misc/tet { };
theft = callPackage ../development/libraries/theft { };
thrift = callPackage ../development/libraries/thrift {
inherit (pythonPackages) twisted;
};