nixpkgs/pkgs/development/python-modules/doit-py/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

49 lines
841 B
Nix

{ 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
];
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 ];
};
}