blob: 174dbfdcdafe70628a44156efbbdc183ada93dc7 (
plain)
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
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
# Python deps
six,
setuptools,
}:
buildPythonPackage rec {
pname = "mando";
version = "0.8.2";
pyproject = true;
src = fetchFromGitHub {
owner = "rubik";
repo = "mando";
rev = "v${version}";
hash = "sha256-FuQZ53ojrQO++0TN0C3hk0LXH+mcfRqtGq8VvfYDufg=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ six ];
pythonImportsCheck = [ "mando" ];
meta = {
description = "Create Python CLI apps with little to no effort at all";
homepage = "https://mando.readthedocs.org";
changelog = "https://github.com/rubik/mando/blob/v${version}/CHANGELOG";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ t4ccer ];
};
}
|