Files
nixpkgs/pkgs/development/python-modules/doit-py/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

51 lines
877 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 = "doit-py";
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 = {
description = "doit tasks for python stuff";
homepage = "http://pythonhosted.org/doit-py";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ onny ];
};
}