Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 738 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, six 6, pytest_4 7, hypothesis_4 8, pytestrunner 9}: 10 11buildPythonPackage rec { 12 pname = "pyrsistent"; 13 version = "0.17.3"; 14 15 disabled = isPy27; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e"; 20 }; 21 22 propagatedBuildInputs = [ six ]; 23 24 checkInputs = [ pytestrunner pytest_4 hypothesis_4 ]; 25 26 postPatch = '' 27 substituteInPlace setup.py --replace 'pytest<5' 'pytest' 28 ''; 29 30 meta = with lib; { 31 homepage = "https://github.com/tobgu/pyrsistent/"; 32 description = "Persistent/Functional/Immutable data structures"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ desiderius ]; 35 }; 36 37}