From bd935ce69adee94e9095f1f3c13c1448a1d3724b Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Sat, 9 May 2026 00:58:12 -0700 Subject: [PATCH 1/1] =?utf8?q?25.11:=20Formatting:=20nixfmt-classic=20?= =?utf8?q?=E2=86=92=20nixfmt-rfc-style?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- default.nix | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/default.nix b/default.nix index 4e6e96b..260488c 100644 --- a/default.nix +++ b/default.nix @@ -1,13 +1,29 @@ -{ pkgs ? import { }, lint ? false }: -pkgs.python3Packages.callPackage -({ lib, buildPythonPackage, setuptools, autopep8, mypy, pylint, }: +{ + pkgs ? import { }, + lint ? false, +}: +pkgs.python3Packages.callPackage ( + { + 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 ]; + nativeCheckInputs = [ + mypy + ] + ++ lib.optionals lint [ + autopep8 + pylint + ]; doCheck = true; checkPhase = '' ./test.sh ${lib.optionalString lint "lint"} @@ -18,4 +34,5 @@ pkgs.python3Packages.callPackage license = pkgs.lib.licenses.gpl3; maintainers = with pkgs.lib.maintainers; [ chkno ]; }; - }) { } + } +) { } -- 2.51.2