Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 550 B view raw
1{ stdenv, fetchPypi 2, buildPythonPackage, python 3}: 4buildPythonPackage rec { 5 pname = "parse"; 6 version = "1.11.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "870dd675c1ee8951db3e29b81ebe44fd131e3eb8c03a79483a58ea574f3145c2"; 11 }; 12 13 checkPhase = '' 14 ${python.interpreter} test_parse.py 15 ''; 16 17 meta = with stdenv.lib; { 18 homepage = https://github.com/r1chardj0n3s/parse; 19 description = "parse() is the opposite of format()"; 20 license = licenses.bsdOriginal; 21 maintainers = with maintainers; [ alunduil ]; 22 }; 23}