tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
python311Packages.msprime: apply upstream patch; fix build
annalee
2 years ago
e7e7df50
b7137a71
+11
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
msprime
default.nix
+11
pkgs/development/python-modules/msprime/default.nix
···
1
1
{ lib
2
2
, buildPythonPackage
3
3
, fetchPypi
4
4
+
, fetchpatch
4
5
, oldest-supported-numpy
5
6
, setuptools-scm
6
7
, wheel
···
25
26
inherit pname version;
26
27
hash = "sha256-YAJa2f0w2CenKubnYLbP8HodDhabLB2hAkyw/CPkp6o=";
27
28
};
29
29
+
30
30
+
patches = [
31
31
+
# upstream patch fixes 2 failing unittests. remove on update
32
32
+
(fetchpatch {
33
33
+
name = "python311.patch";
34
34
+
url = "https://github.com/tskit-dev/msprime/commit/639125ec942cb898cf4a80638f229e11ce393fbc.patch";
35
35
+
hash = "sha256-peli4tdu8Bv21xIa5H8SRdfjQnTMO72IPFqybmSBSO8=";
36
36
+
includes = [ "tests/test_ancestry.py" ];
37
37
+
})
38
38
+
];
28
39
29
40
nativeBuildInputs = [
30
41
gsl