python313Packages.dotwiz: modernize (#437879)

authored by Fabian Affolter and committed by GitHub 4ba5ea3a cd129a86

+7 -7
+7 -7
pkgs/development/python-modules/dotwiz/default.nix
··· 5 5 pyheck, 6 6 pytestCheckHook, 7 7 pythonOlder, 8 + setuptools, 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "dotwiz"; 12 13 version = "0.4.0"; 13 - format = "setuptools"; 14 + pyproject = true; 14 15 15 16 disabled = pythonOlder "3.7"; 16 17 ··· 21 22 hash = "sha256-ABmkwpJ40JceNJieW5bhg0gqWNrR6Wxj84nLCjKU11A="; 22 23 }; 23 24 24 - propagatedBuildInputs = [ pyheck ]; 25 + build-system = [ setuptools ]; 26 + 27 + dependencies = [ pyheck ]; 25 28 26 29 nativeCheckInputs = [ pytestCheckHook ]; 27 30 28 31 pythonImportsCheck = [ "dotwiz" ]; 29 32 30 - disabledTestPaths = [ 31 - "benchmarks" 32 - "integration*" 33 - ]; 33 + disabledTestPaths = [ "benchmarks" ]; 34 34 35 35 meta = with lib; { 36 36 description = "Dict subclass that supports dot access notation"; 37 37 homepage = "https://github.com/rnag/dotwiz"; 38 - changelog = "https://github.com/rnag/dotwiz/blob/v${version}/HISTORY.rst"; 38 + changelog = "https://github.com/rnag/dotwiz/blob/v${src.tag}/HISTORY.rst"; 39 39 license = licenses.mit; 40 40 maintainers = with maintainers; [ fab ]; 41 41 };