Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 23 lines 550 B view raw
1{ stdenv, fetchPypi 2, buildPythonPackage, python 3}: 4buildPythonPackage rec { 5 pname = "parse"; 6 version = "1.12.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "a5fca7000c6588d77bc65c28f3f21bfce03b5e44daa8f9f07c17fe364990d717"; 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}