]> git.scottworley.com Git - rfc1751/commitdiff
25.11: Nix formatting: nixfmt-classic → nixfmt-rfc-style
authorScott Worley <scottworley@scottworley.com>
Fri, 2 Jan 2026 06:59:30 +0000 (22:59 -0800)
committerScott Worley <scottworley@scottworley.com>
Fri, 2 Jan 2026 06:59:30 +0000 (22:59 -0800)
default.nix

index f1052a20e684741d92d65ab33cc83dfa3bb5fe40..2374f72e9c47e707ac8807a0ffb5869a7cb4bc7a 100644 (file)
@@ -1,18 +1,33 @@
-{ pkgs ? import <nixpkgs> { }, lint ? false }:
-pkgs.python3Packages.callPackage
-({ lib, buildPythonPackage, mypy, autopep8, pylint, }:
+{
+  pkgs ? import <nixpkgs> { },
+  lint ? false,
+}:
+pkgs.python3Packages.callPackage (
+  {
+    lib,
+    buildPythonPackage,
+    mypy,
+    autopep8,
+    pylint,
+  }:
   buildPythonPackage rec {
     pname = "rfc1751";
     version = "1.0.0";
     src = lib.cleanSource ./.;
-    nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ];
+    nativeCheckInputs = [
+      mypy
+    ]
+    ++ lib.optionals lint [
+      autopep8
+      pylint
+    ];
     doCheck = true;
     checkPhase = "./test.sh";
     meta = {
-      description =
-        "Command line tool for RFC1751 (aka S/Key) numbers-as-word-lists";
+      description = "Command line tool for RFC1751 (aka S/Key) numbers-as-word-lists";
       homepage = "https://git.scottworley.com/rfc1751";
       license = lib.licenses.isc;
       maintainers = with lib.maintainers; [ chkno ];
     };
-  }) { }
+  }
+) { }