]> git.scottworley.com Git - nix-pin-deps/commitdiff
nixpkgs 25.11 pyproject boilerplate
authorScott Worley <scottworley@scottworley.com>
Sat, 9 May 2026 06:39:18 +0000 (23:39 -0700)
committerScott Worley <scottworley@scottworley.com>
Sat, 9 May 2026 06:39:18 +0000 (23:39 -0700)
Changelog
default.nix

index 6c28270c82233c899c7fa4dd83aaba961270b6b8..145705fae8733f895ad9063808a819671b77f582 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,4 +1,5 @@
 ## [Unreleased]
+- nixpkgs 25.11 pyproject boilerplate
 
 
 ## [1.1.0] - 2024-10-22
index 9beabfb59628ce41ae14b47f16bbf5977bffae31..4e6e96b183b302c6f6d952a1c741f4910665b7a7 100644 (file)
@@ -1,10 +1,12 @@
 { pkgs ? import <nixpkgs> { }, lint ? false }:
 pkgs.python3Packages.callPackage
-({ lib, buildPythonPackage, autopep8, mypy, pylint, }:
+({ lib, buildPythonPackage, setuptools, autopep8, mypy, pylint, }:
   buildPythonPackage rec {
     pname = "nix-pin-deps";
     version = "1.1.0";
     src = lib.cleanSource ./.;
+    pyproject = true;
+    build-system = [ setuptools ];
     nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ];
     doCheck = true;
     checkPhase = ''