nixpkgs/pkgs/os-specific/windows/mcfgthreads/default.nix

25 lines
519 B
Nix
Raw Normal View History

2019-11-11 03:35:59 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation {
pname = "mcfgthreads";
version = "git";
2019-11-11 03:35:59 +00:00
src = fetchFromGitHub {
owner = "lhmouse";
repo = "mcfgthread";
rev = "9570e5ca7b98002d707c502c919d951bf256b9c6";
sha256 = "10y2x3x601a7c1hkd6zlr3xpfsnlr05xl28v23clf619756a5755";
};
outputs = [ "out" "dev" ];
2019-11-11 03:35:59 +00:00
# Don't want prebuilt binaries sneaking in.
postUnpack = ''
rm -r "$sourceRoot/debug" "$sourceRoot/release"
'';
2019-11-11 03:35:59 +00:00
nativeBuildInputs = [
autoreconfHook
];
}