Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 26 lines 586 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, python 5}: 6buildPythonPackage rec { 7 pname = "plac"; 8 version = "1.1.3"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "398cb947c60c4c25e275e1f1dadf027e7096858fb260b8ece3b33bcff90d985f"; 13 }; 14 15 checkPhase = '' 16 cd doc 17 ${python.interpreter} -m unittest discover -p "*test_plac*" 18 ''; 19 20 meta = with stdenv.lib; { 21 description = "Parsing the Command Line the Easy Way"; 22 homepage = https://github.com/micheles/plac; 23 license = licenses.bsdOriginal; 24 maintainers = with maintainers; [ sdll ]; 25 }; 26}