1{ lib
2, buildPythonPackage
3, fetchPypi
4, boltons
5, pytestCheckHook
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "face";
11 version = "22.0.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-1daS+QvI9Zh7Y25H42OEubvaSZqvCneqCwu+g0x2kj0=";
19 };
20
21 propagatedBuildInputs = [
22 boltons
23 ];
24
25 checkInputs = [
26 pytestCheckHook
27 ];
28
29 pythonImportsCheck = [
30 "face"
31 ];
32
33 disabledTests = [
34 # Assertion error as we take the Python release into account
35 "test_search_prs_basic"
36 ];
37
38 meta = with lib; {
39 description = "A command-line interface parser and framework";
40 longDescription = ''
41 A command-line interface parser and framework, friendly for
42 users, full-featured for developers.
43 '';
44 homepage = "https://github.com/mahmoud/face";
45 license = licenses.bsd3;
46 maintainers = with maintainers; [ twey ];
47 };
48}