From: Scott Worley Date: Sat, 9 May 2026 07:58:12 +0000 (-0700) Subject: 25.11: Formatting: nixfmt-classic → nixfmt-rfc-style X-Git-Tag: v1.1.1~2 X-Git-Url: http://git.scottworley.com/nix-pin-deps/commitdiff_plain/bd935ce69adee94e9095f1f3c13c1448a1d3724b 25.11: Formatting: nixfmt-classic → nixfmt-rfc-style --- 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 ]; }; - }) { } + } +) { }