1{ lib
2, buildPythonPackage
3, fetchPypi
4, python
5}:
6buildPythonPackage rec {
7 pname = "plac";
8 version = "1.3.3";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "51e332dabc2aed2cd1f038be637d557d116175101535f53eaa7ae854a00f2a74";
13 };
14
15 checkPhase = ''
16 cd doc
17 ${python.interpreter} -m unittest discover -p "*test_plac*"
18 '';
19
20 meta = with 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; [ ];
25 };
26}