depot/third_party/nixpkgs/pkgs/development/python-modules/doit-py/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

50 lines
875 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 ];
};
}