plac: init at 0.9.6

This commit is contained in:
Sasha Delly
2017-05-14 22:27:01 +00:00
committed by Frederik Rietdijk
parent b5b2890278
commit 3fe916dd4a
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "plac";
version = "0.9.6";
src = fetchPypi {
inherit pname version;
sha256 = "16zqpalx4i1n1hrcvaj8sdixapy2g76fc13bbahz0xc106d72gxs";
};
checkPhase = ''
cd doc
${python.interpreter} -m unittest discover -p "*test_plac*"
'';
meta = with stdenv.lib; {
description = "Parsing the Command Line the Easy Way";
homepage = https://github.com/micheles/plac;
license = licenses.bsdOriginal;
maintainers = with maintainers; [ sdll ];
};
}