1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 # Python deps
7 six,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "mando";
13 version = "0.8.2";
14
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "rubik";
19 repo = "mando";
20 rev = "v${version}";
21 hash = "sha256-FuQZ53ojrQO++0TN0C3hk0LXH+mcfRqtGq8VvfYDufg=";
22 };
23
24 nativeBuildInputs = [ setuptools ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 propagatedBuildInputs = [ six ];
29
30 pythonImportsCheck = [ "mando" ];
31
32 meta = with lib; {
33 description = "Create Python CLI apps with little to no effort at all";
34 homepage = "https://mando.readthedocs.org";
35 changelog = "https://github.com/rubik/mando/blob/v${version}/CHANGELOG";
36 license = licenses.mit;
37 maintainers = with maintainers; [ t4ccer ];
38 };
39}