]> git.scottworley.com Git - auto-upgrade-with-pinch/commitdiff
25.11: pyproject boilerplate
authorScott Worley <scottworley@scottworley.com>
Sun, 14 Dec 2025 10:31:08 +0000 (02:31 -0800)
committerScott Worley <scottworley@scottworley.com>
Sun, 14 Dec 2025 10:31:08 +0000 (02:31 -0800)
overlays/pinch.nix

index fe6fa3af10d24b974aa52c57a14d3942840b05c3..8c446080f3cb29167fc7eda13f4de71d65f350b6 100644 (file)
@@ -1,7 +1,7 @@
 self: super:
 let
   fallback-git-cache = self.python3Packages.callPackage
-    ({ buildPythonPackage, fetchgit, git, backoff, mypy, }:
+    ({ buildPythonPackage, fetchgit, setuptools, git, backoff, mypy, }:
       buildPythonPackage rec {
         pname = "git-cache";
         version = "1.5.0";
@@ -10,6 +10,8 @@ let
           rev = "v${version}";
           hash = "sha256-g4TS/zX3e29Q3ThsCAX2wLLlYbi8fdux5uqAc+b/Oww=";
         };
+        pyproject = true;
+        build-system = [ setuptools ];
         propagatedBuildInputs = [ backoff ];
         nativeCheckInputs = [ git mypy ];
         doCheck = true;
@@ -17,7 +19,7 @@ let
       }) { };
 
   fallback-pinch = self.python3Packages.callPackage
-    ({ buildPythonPackage, fetchgit, nix, git, mypy, git-cache, }:
+    ({ buildPythonPackage, fetchgit, setuptools, nix, git, mypy, git-cache, }:
       buildPythonPackage rec {
         pname = "pinch";
         version = "3.3.1";
@@ -26,6 +28,8 @@ let
           rev = "v${version}";
           hash = "sha256-fVlHwQX2o8GYZ/Oq5/m5v2L+KNpFoKWD8MbH4A3cV0s=";
         };
+        pyproject = true;
+        build-system = [ setuptools ];
         propagatedBuildInputs = [ git-cache ];
         nativeCheckInputs = [ nix git mypy ];
         doCheck = true;