Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 557 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5}: 6 7buildPythonPackage rec { 8 pname = "six"; 9 version = "1.15.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"; 14 }; 15 16 checkInputs = [ pytest ]; 17 18 checkPhase = '' 19 py.test test_six.py 20 ''; 21 22 # To prevent infinite recursion with pytest 23 doCheck = false; 24 25 meta = { 26 description = "A Python 2 and 3 compatibility library"; 27 homepage = "https://pypi.python.org/pypi/six/"; 28 license = lib.licenses.mit; 29 }; 30}