X-Git-Url: http://git.scottworley.com/rfc1751/blobdiff_plain/06b69e2e270101769bd17e2884d30033d09a7892..ce9c78d7a06ed44a56997a5730f765a0c8aadd7a:/default.nix?ds=inline diff --git a/default.nix b/default.nix index 8b3e750..87d0ca3 100644 --- a/default.nix +++ b/default.nix @@ -1,12 +1,36 @@ -{ pkgs ? import { }, lint ? false }: -pkgs.python3Packages.callPackage -({ lib, buildPythonPackage, mypy, autopep8, pylint, }: +{ + pkgs ? import { }, + lint ? false, +}: +pkgs.python3Packages.callPackage ( + { + lib, + buildPythonPackage, + mypy, + autopep8, + pylint, + setuptools, + }: buildPythonPackage rec { pname = "rfc1751"; - version = "0.1.0"; + version = "1.0.0"; src = lib.cleanSource ./.; - nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ]; + pyproject = true; + build-system = [ setuptools ]; + nativeCheckInputs = [ + mypy + ] + ++ lib.optionals lint [ + autopep8 + pylint + ]; doCheck = true; checkPhase = "./test.sh"; - meta = { license = lib.licenses.isc; }; - }) { } + 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 ]; + }; + } +) { }