at 18.09-beta 588 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, python 5}: 6buildPythonPackage rec { 7 pname = "plac"; 8 version = "1.0.0"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "b03f967f535b3bf5a71b191fa5eb09872a5cfb1e3b377efc4138995e10ba36d7"; 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}