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