Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, fetchFromGitHub, autoreconfHook }:
2
3stdenv.mkDerivation {
4 pname = "mcfgthreads";
5 version = "git";
6
7 src = fetchFromGitHub {
8 owner = "lhmouse";
9 repo = "mcfgthread";
10 rev = "c446cf4fcdc262fc899a188a4bb7136284c34222";
11 sha256 = "1ib90lrd4dz8irq4yvzwhxqa86i5vxl2q2z3z04sf1i8hw427p2f";
12 };
13
14 outputs = [ "out" "dev" ];
15
16 # Don't want prebuilt binaries sneaking in.
17 postUnpack = ''
18 rm -r "$sourceRoot/debug" "$sourceRoot/release"
19 '';
20
21 nativeBuildInputs = [
22 autoreconfHook
23 ];
24}