about summary refs log tree commit diff
path: root/pkgs/os-specific/windows/mcfgthreads/pre_gcc_13.nix
blob: 6be64814c93aa06fc4c3e3829b7e8aa6001bbbc3 (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"; # unstable-2021-03-12, not in any branch

  src = fetchFromGitHub {
    owner = "lhmouse";
    repo = "mcfgthread";
    rev = "c446cf4fcdc262fc899a188a4bb7136284c34222";
    sha256 = "1ib90lrd4dz8irq4yvzwhxqa86i5vxl2q2z3z04sf1i8hw427p2f";
  };

  outputs = [ "out" "dev" ];

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

  nativeBuildInputs = [
    autoreconfHook
  ];
}