git.iko.soy/typeable/nixpkgs
on master help sign in
theft: add new theft development library package
commit6015fdc76aa9061af5c79e23c169072de4df5495 authorKevin Quick <quick@sparq.org> dateWed 18 Oct 2017, 23:23 (9 years ago) parent3e4b500
2 files changed+35
pkgs/development/libraries/theft/default.nix+33 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/theft/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+stdenv.mkDerivation rec {
4+ version = "0.4.3";
5+ name = "theft-${version}";
6+
7+ src = fetchFromGitHub {
8+ owner = "silentbicycle";
9+ repo = "theft";
10+ rev = "v${version}";
11+ sha256 = "1ibh8np12lafnrsrvjbbzlyq45zq654939x0y22vdnc6s8dpbhw4";
12+ };
13+
14+ preConfigure = "patchShebangs ./scripts/mk_bits_lut";
15+ # doCheck = true;
16+
17+ propagatedBuildInputs = [ ];
18+
19+ buildInputs = [ ];
20+
21+ installFlags = [ "PREFIX=$(out)" ];
22+ postInstall = ''
23+ install -m644 vendor/greatest.h $out/include/
24+ '';
25+
26+ meta = {
27+ description = "A C library for property-based testing.";
28+ platforms = stdenv.lib.platforms.linux;
29+ homepage = "http://github.com/silentbicycle/theft/";
30+ license = stdenv.lib.licenses.isc;
31+ maintainers = [ stdenv.lib.maintainers.kquick ];
32+ };
33+}
pkgs/top-level/all-packages.nix+2
@@ -10766,6 +10766,8 @@ with pkgs;
1076610766
1076710767 tet = callPackage ../development/tools/misc/tet { };
1076810768
10769+ theft = callPackage ../development/libraries/theft { };
10770+
1076910771 thrift = callPackage ../development/libraries/thrift {
1077010772 inherit (pythonPackages) twisted;
1077110773 };