X-Git-Url: http://git.scottworley.com/rfc1751/blobdiff_plain/a16621b9a92732ffce9f015c8227140f281ce611..4504593734ab4291aa87da76fd11073d5326d4df:/default.nix diff --git a/default.nix b/default.nix index f1052a2..2374f72 100644 --- a/default.nix +++ b/default.nix @@ -1,18 +1,33 @@ -{ pkgs ? import { }, lint ? false }: -pkgs.python3Packages.callPackage -({ lib, buildPythonPackage, mypy, autopep8, pylint, }: +{ + pkgs ? import { }, + 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 ]; }; - }) { } + } +) { }