Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 38 lines 589 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, characteristic 5, pyasn1 6, pyasn1-modules 7, pyopenssl 8, idna 9, attrs 10, pytest 11}: 12 13buildPythonPackage rec { 14 pname = "service_identity"; 15 version = "17.0.0"; 16 name = "${pname}-${version}"; 17 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "4001fbb3da19e0df22c47a06d29681a398473af4aa9d745eca525b3b2c2302ab"; 22 }; 23 24 propagatedBuildInputs = [ 25 characteristic pyasn1 pyasn1-modules pyopenssl idna attrs 26 ]; 27 28 checkInputs = [ 29 pytest 30 ]; 31 32 checkPhase = '' 33 py.test 34 ''; 35 36 # Tests not included in archive 37 doCheck = false; 38}