2022-08-21 13:32:41 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
|
|
|
, doit
|
|
|
|
, configclass
|
|
|
|
, mergedict
|
|
|
|
, pytestCheckHook
|
|
|
|
, hunspell
|
|
|
|
, hunspellDicts
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "doit-py";
|
|
|
|
version = "0.5.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pydoit";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-DBl6/no04ZGRHHmN9gkEtBmAMgmyZWcfPCcFz0uxAv4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
configclass
|
|
|
|
doit
|
|
|
|
mergedict
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-08-21 13:32:41 +00:00
|
|
|
hunspell
|
|
|
|
hunspellDicts.en_US
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTestPaths = [
|
|
|
|
# Disable linting checks
|
|
|
|
"tests/test_pyflakes.py"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "doitpy" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "doit tasks for python stuff";
|
|
|
|
homepage = "http://pythonhosted.org/doit-py";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ onny ];
|
|
|
|
};
|
|
|
|
}
|