Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python311Packages.msprime: apply upstream patch; fix build

annalee e7e7df50 b7137a71

+11
+11
pkgs/development/python-modules/msprime/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , oldest-supported-numpy 5 , setuptools-scm 6 , wheel ··· 25 inherit pname version; 26 hash = "sha256-YAJa2f0w2CenKubnYLbP8HodDhabLB2hAkyw/CPkp6o="; 27 }; 28 29 nativeBuildInputs = [ 30 gsl
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , fetchpatch 5 , oldest-supported-numpy 6 , setuptools-scm 7 , wheel ··· 26 inherit pname version; 27 hash = "sha256-YAJa2f0w2CenKubnYLbP8HodDhabLB2hAkyw/CPkp6o="; 28 }; 29 + 30 + patches = [ 31 + # upstream patch fixes 2 failing unittests. remove on update 32 + (fetchpatch { 33 + name = "python311.patch"; 34 + url = "https://github.com/tskit-dev/msprime/commit/639125ec942cb898cf4a80638f229e11ce393fbc.patch"; 35 + hash = "sha256-peli4tdu8Bv21xIa5H8SRdfjQnTMO72IPFqybmSBSO8="; 36 + includes = [ "tests/test_ancestry.py" ]; 37 + }) 38 + ]; 39 40 nativeBuildInputs = [ 41 gsl