diff --git a/pkgs/development/python-modules/pyment/default.nix b/pkgs/development/python-modules/pyment/default.nix new file mode 100644 index 000000000000..bb27e5b3c3dd --- /dev/null +++ b/pkgs/development/python-modules/pyment/default.nix @@ -0,0 +1,22 @@ +{ lib, buildPythonPackage, fetchPypi }: + +buildPythonPackage rec { + pname = "pyment"; + version = "0.3.3"; + + src = fetchPypi { + pname = "Pyment"; + inherit version; + sha256 = "951a4c52d6791ccec55bc739811169eed69917d3874f5fe722866623a697f39d"; + }; + + # Tests are not included in PyPI tarball + doCheck = false; + + meta = with lib; { + homepage = https://github.com/dadadel/pyment; + description = "Create, update or convert docstrings in existing Python files, managing several styles"; + license = licenses.gpl3; + maintainers = with maintainers; [ jethro ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b7eb692c4ab8..f46c94674612 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3598,6 +3598,8 @@ in { pygpgme = callPackage ../development/python-modules/pygpgme { }; + pyment = callPackage ../development/python-modules/pyment { }; + pylint = if isPy3k then callPackage ../development/python-modules/pylint { } else callPackage ../development/python-modules/pylint/1.9.nix { };