Unverified Commit 7a0ab856 authored by Fabian Affolter's avatar Fabian Affolter Committed by Tom Hunze
Browse files

python313Packages.devtools: refactor

parent 0d6c1a27
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -8,15 +8,12 @@
  pygments,
  pytest-mock,
  pytestCheckHook,
  pythonOlder,
}:

buildPythonPackage rec {
  pname = "devtools";
  version = "0.12.2";
  format = "pyproject";

  disabled = pythonOlder "3.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "samuelcolvin";
@@ -35,9 +32,9 @@ buildPythonPackage rec {
      --replace-fail 'asttokens>=2.0.0,<3.0.0' 'asttokens>=2.0.0' \
  '';

  nativeBuildInputs = [ hatchling ];
  build-system = [ hatchling ];

  propagatedBuildInputs = [
  dependencies = [
    asttokens
    executing
    pygments
@@ -68,7 +65,7 @@ buildPythonPackage rec {
  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}";
    changelog = "https://github.com/samuelcolvin/python-devtools/releases/tag/${src.tag}";
    license = licenses.mit;
    maintainers = with maintainers; [ jdahm ];
  };