summary refs log tree commit diff
path: root/pkgs/os-specific/windows/mcfgthreads/default.nix
blob: 6c4cd1710256f3f244c65a588e96423943f51aee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchFromGitHub, autoreconfHook }:

stdenv.mkDerivation {
  pname = "mcfgthreads";
  version = "git";

  src = fetchFromGitHub {
    owner = "lhmouse";
    repo = "mcfgthread";
    rev = "9570e5ca7b98002d707c502c919d951bf256b9c6";
    sha256 = "10y2x3x601a7c1hkd6zlr3xpfsnlr05xl28v23clf619756a5755";
  };

  outputs = [ "out" "dev" ];

  # Don't want prebuilt binaries sneaking in.
  postUnpack = ''
    rm -r "$sourceRoot/debug" "$sourceRoot/release"
  '';

  nativeBuildInputs = [
    autoreconfHook
  ];
}