From 32689074105fbb3ccedd97e1811ed346c9076322 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov Date: Fri, 12 Apr 2019 09:43:53 -0400 Subject: [PATCH] pythonPackages.pytest-pylint: init at 0.14.0 --- .../python-modules/pytest-pylint/default.nix | 36 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/python-modules/pytest-pylint/default.nix diff --git a/pkgs/development/python-modules/pytest-pylint/default.nix b/pkgs/development/python-modules/pytest-pylint/default.nix new file mode 100644 index 000000000000..8943f220fe62 --- /dev/null +++ b/pkgs/development/python-modules/pytest-pylint/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pytest +, pylint +, six +, pytestrunner +}: + +buildPythonPackage rec { + pname = "pytest-pylint"; + version = "0.14.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "7bfbb66fc6dc160193a9e813a7c55e5ae32028f18660deeb90e1cb7e980cbbac"; + }; + + buildInputs = [ pytestrunner ]; + + propagatedBuildInputs = [ + pytest + pylint + six + ]; + + # tests not included with release + doCheck = false; + + meta = with lib; { + description = "pytest plugin to check source code with pylint"; + homepage = https://github.com/carsongee/pytest-pylint; + license = licenses.mit; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index be51e0673e4c..2a46c332991a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -738,6 +738,8 @@ in { pytest-mypy = callPackage ../development/python-modules/pytest-mypy { }; + pytest-pylint = callPackage ../development/python-modules/pytest-pylint { }; + pytest-tornado = callPackage ../development/python-modules/pytest-tornado { }; python-binance = callPackage ../development/python-modules/python-binance { };