blob: f9d373e68dbe3249d837c2c721f9b205c203892b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ lib
, buildPythonPackage
, fetchPypi
, unittestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "plac";
version = "1.3.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-OL3YZNBFD7dIGTqoF7nEWKj1MZ+/l7ImEVHPwKWBIJA=";
};
checkInputs = [ unittestCheckHook ];
unittestFlagsArray = [ "-s" "doc" "-p" "*test_plac*" ];
pythonImportsCheck = [
"plac"
];
meta = with lib; {
description = "Parsing the Command Line the Easy Way";
homepage = "https://github.com/micheles/plac";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ ];
};
}
|