1 { pkgs ? import <nixpkgs> { }, lint ? false }:
2 pkgs.python3Packages.callPackage
3 ({ lib, buildPythonPackage, mypy, autopep8, pylint, }:
4 buildPythonPackage rec {
7 src = lib.cleanSource ./.;
8 nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ];
10 checkPhase = "./test.sh";
13 "Command line tool for RFC1751 (aka S/Key) numbers-as-word-lists";
14 homepage = "https://git.scottworley.com/rfc1751";
15 license = lib.licenses.isc;
16 maintainers = with lib.maintainers; [ chkno ];