python313Packages.devtools: refactor

Changed files
+4 -7
pkgs
development
python-modules
devtools
+4 -7
pkgs/development/python-modules/devtools/default.nix
···
pygments,
pytest-mock,
pytestCheckHook,
-
pythonOlder,
}:
buildPythonPackage rec {
pname = "devtools";
version = "0.12.2";
-
format = "pyproject";
-
-
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "samuelcolvin";
···
--replace-fail 'asttokens>=2.0.0,<3.0.0' 'asttokens>=2.0.0' \
'';
-
nativeBuildInputs = [ hatchling ];
-
propagatedBuildInputs = [
asttokens
executing
pygments
···
meta = with lib; {
description = "Python's missing debug print command and other development tools";
homepage = "https://python-devtools.helpmanual.io/";
-
changelog = "https://github.com/samuelcolvin/python-devtools/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ jdahm ];
};
···
pygments,
pytest-mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "devtools";
version = "0.12.2";
+
pyproject = true;
src = fetchFromGitHub {
owner = "samuelcolvin";
···
--replace-fail 'asttokens>=2.0.0,<3.0.0' 'asttokens>=2.0.0' \
'';
+
build-system = [ hatchling ];
+
dependencies = [
asttokens
executing
pygments
···
meta = with lib; {
description = "Python's missing debug print command and other development tools";
homepage = "https://python-devtools.helpmanual.io/";
+
changelog = "https://github.com/samuelcolvin/python-devtools/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ jdahm ];
};