tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
windows.mcfgthreads: 1.6.1 -> 1.9.2
Weijia Wang
1 year ago
482ff494
0ecd14ba
+12
-4
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
windows
mcfgthreads
default.nix
+12
-4
pkgs/os-specific/windows/mcfgthreads/default.nix
···
2
lib,
3
stdenv,
4
fetchFromGitHub,
5
-
autoreconfHook,
0
6
}:
7
8
stdenv.mkDerivation rec {
9
pname = "mcfgthread";
10
-
version = "1.6.1";
11
12
src = fetchFromGitHub {
13
owner = "lhmouse";
14
repo = "mcfgthread";
15
rev = "v${lib.versions.majorMinor version}-ga.${lib.versions.patch version}";
16
-
hash = "sha256-FrmeaQhwLrNewS0HDlbWgCvVQ5U1l0jrw0YVuQdt9Ck=";
17
};
18
0
0
0
0
19
outputs = [
20
"out"
21
"dev"
22
];
23
24
-
nativeBuildInputs = [ autoreconfHook ];
0
0
0
25
26
meta = {
27
description = "Threading support library for Windows 7 and above";
···
2
lib,
3
stdenv,
4
fetchFromGitHub,
5
+
meson,
6
+
ninja,
7
}:
8
9
stdenv.mkDerivation rec {
10
pname = "mcfgthread";
11
+
version = "1.9.2";
12
13
src = fetchFromGitHub {
14
owner = "lhmouse";
15
repo = "mcfgthread";
16
rev = "v${lib.versions.majorMinor version}-ga.${lib.versions.patch version}";
17
+
hash = "sha256-bB7ghhSqAqkyU1PLuVVJfkTYTtEU9f0CR1k+k+u3EgY=";
18
};
19
20
+
postPatch = ''
21
+
sed -z "s/Rules for tests.*//;s/'cpp'/'c'/g" -i meson.build
22
+
'';
23
+
24
outputs = [
25
"out"
26
"dev"
27
];
28
29
+
nativeBuildInputs = [
30
+
meson
31
+
ninja
32
+
];
33
34
meta = {
35
description = "Threading support library for Windows 7 and above";