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