2019-11-11 04:35:59 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "mcfgthreads";
|
|
|
|
version = "git";
|
2019-11-11 06:23:32 +01:00
|
|
|
|
2019-11-11 04:35:59 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lhmouse";
|
|
|
|
repo = "mcfgthread";
|
2021-03-12 16:25:08 +01:00
|
|
|
rev = "c446cf4fcdc262fc899a188a4bb7136284c34222";
|
|
|
|
sha256 = "1ib90lrd4dz8irq4yvzwhxqa86i5vxl2q2z3z04sf1i8hw427p2f";
|
2019-11-11 04:35:59 +01:00
|
|
|
};
|
2019-11-11 06:23:32 +01:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2019-11-11 04:35:59 +01:00
|
|
|
# Don't want prebuilt binaries sneaking in.
|
|
|
|
postUnpack = ''
|
|
|
|
rm -r "$sourceRoot/debug" "$sourceRoot/release"
|
|
|
|
'';
|
2019-11-11 06:23:32 +01:00
|
|
|
|
2019-11-11 04:35:59 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
}
|