Files
nixpkgs/pkgs/development/python-modules/dotwiz/default.nix
Yueh-Shun Li 624897829b treewide: modernize Python package pytest flags
Use `(enabled|disabled)(TestPaths|TestMarks|Tests)` and `pytestFlags`
instead of the `__structuredAttrs`-incompatible `pytestFlagsArray`.
2025-07-15 03:00:08 +08:00

43 lines
872 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pyheck,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "dotwiz";
version = "0.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rnag";
repo = "dotwiz";
tag = "v${version}";
hash = "sha256-ABmkwpJ40JceNJieW5bhg0gqWNrR6Wxj84nLCjKU11A=";
};
propagatedBuildInputs = [ pyheck ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dotwiz" ];
disabledTestPaths = [
"benchmarks"
"integration*"
];
meta = with lib; {
description = "Dict subclass that supports dot access notation";
homepage = "https://github.com/rnag/dotwiz";
changelog = "https://github.com/rnag/dotwiz/blob/v${version}/HISTORY.rst";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}