504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
49 lines
864 B
Nix
49 lines
864 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildPythonPackage
|
|
, doit
|
|
, configclass
|
|
, mergedict
|
|
, pytestCheckHook
|
|
, hunspell
|
|
, hunspellDicts
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "doit-py";
|
|
version = "0.5.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pydoit";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-DBl6/no04ZGRHHmN9gkEtBmAMgmyZWcfPCcFz0uxAv4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
configclass
|
|
doit
|
|
mergedict
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|