From 87b9ee7680d1d991749377d4b76e15dfd01a0315 Mon Sep 17 00:00:00 2001 From: Johannes Bornhold Date: Mon, 20 Feb 2017 21:16:39 +0100 Subject: [PATCH] flake8-blind-except: init at 0.1.1 --- .../flake8-blind-except/default.nix | 16 ++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/python-modules/flake8-blind-except/default.nix diff --git a/pkgs/development/python-modules/flake8-blind-except/default.nix b/pkgs/development/python-modules/flake8-blind-except/default.nix new file mode 100644 index 000000000000..88b4f811e944 --- /dev/null +++ b/pkgs/development/python-modules/flake8-blind-except/default.nix @@ -0,0 +1,16 @@ +{ lib, fetchurl, buildPythonPackage }: + +buildPythonPackage rec { + name = "flake8-blind-except-${version}"; + version = "0.1.1"; + src = fetchurl { + url = "mirror://pypi/f/flake8-blind-except/${name}.tar.gz"; + sha256 = "16g58mkr3fcn2vlfhp3rlahj93qswc7jd5qrqp748mc26dk3b8xc"; + }; + meta = { + homepage = https://github.com/elijahandrews/flake8-blind-except; + description = "A flake8 extension that checks for blind except: statements"; + maintainers = with lib.maintainers; [ johbo ]; + license = lib.licenses.mit; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1d0e5a525180..f881dea71a21 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11337,6 +11337,8 @@ in { }; }; + flake8-blind-except = callPackage ../development/python-modules/flake8-blind-except { }; + flake8-debugger = callPackage ../development/python-modules/flake8-debugger { }; flaky = buildPythonPackage rec {