1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 doit,
6 configclass,
7 mergedict,
8 pytestCheckHook,
9 hunspell,
10 hunspellDicts,
11}:
12
13buildPythonPackage rec {
14 pname = "doit-py";
15 version = "0.5.0";
16 format = "setuptools";
17
18 src = fetchFromGitHub {
19 owner = "pydoit";
20 repo = "doit-py";
21 rev = version;
22 hash = "sha256-DBl6/no04ZGRHHmN9gkEtBmAMgmyZWcfPCcFz0uxAv4=";
23 };
24
25 propagatedBuildInputs = [
26 configclass
27 doit
28 mergedict
29 ];
30
31 nativeCheckInputs = [
32 hunspell
33 hunspellDicts.en_US
34 pytestCheckHook
35 ];
36
37 disabledTestPaths = [
38 # Disable linting checks
39 "tests/test_pyflakes.py"
40 ];
41
42 pythonImportsCheck = [ "doitpy" ];
43
44 meta = with lib; {
45 description = "doit tasks for python stuff";
46 homepage = "http://pythonhosted.org/doit-py";
47 license = licenses.mit;
48 maintainers = with maintainers; [ onny ];
49 };
50}