Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 23 lines 481 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, 2 pytest }: 3 4buildPythonPackage rec { 5 pname = "rfc3986"; 6 version = "1.2.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "1qf4dyxvjs7mxrxc0gr7gzyn4iflb2wgq01r5pzrxac8rnvy8fmw"; 11 }; 12 13 checkInputs = [ pytest ]; 14 checkPhase = '' 15 pytest 16 ''; 17 18 meta = with stdenv.lib; { 19 homepage = https://rfc3986.readthedocs.org; 20 license = licenses.asl20; 21 description = "Validating URI References per RFC 3986"; 22 }; 23}