theft: add new theft development library package
This commit is contained in:
parent
3e4b500529
commit
6015fdc76a
2 changed files with 35 additions and 0 deletions
33
pkgs/development/libraries/theft/default.nix
Normal file
33
pkgs/development/libraries/theft/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ 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;
|
||||
|
||||
propagatedBuildInputs = [ ];
|
||||
|
||||
buildInputs = [ ];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -10766,6 +10766,8 @@ with pkgs;
|
|||
|
||||
tet = callPackage ../development/tools/misc/tet { };
|
||||
|
||||
theft = callPackage ../development/libraries/theft { };
|
||||
|
||||
thrift = callPackage ../development/libraries/thrift {
|
||||
inherit (pythonPackages) twisted;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue