Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 588 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, python 5}: 6buildPythonPackage rec { 7 pname = "plac"; 8 version = "1.2.0"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "ca03587234e5bdd2a3fa96f19a04a01ebb5b0cd66d48ecb5a54d42bc9b287320"; 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}