]> git.scottworley.com Git - rfc1751/blobdiff - default.nix
25.11: Nix formatting: nixfmt-classic → nixfmt-rfc-style
[rfc1751] / default.nix
index 244df1b770d4f6976af33cff68af01a9f4334291..2374f72e9c47e707ac8807a0ffb5869a7cb4bc7a 100644 (file)
@@ -1,11 +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";
   buildPythonPackage rec {
     pname = "rfc1751";
-    version = "0.1.0";
+    version = "1.0.0";
     src = lib.cleanSource ./.;
     src = lib.cleanSource ./.;
-    nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ];
+    nativeCheckInputs = [
+      mypy
+    ]
+    ++ lib.optionals lint [
+      autopep8
+      pylint
+    ];
     doCheck = true;
     checkPhase = "./test.sh";
     doCheck = true;
     checkPhase = "./test.sh";
-  }) { }
+    meta = {
+      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 ];
+    };
+  }
+) { }