nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 pycodestyle,
6}:
7
8buildPythonPackage rec {
9 pname = "flake8-blind-except";
10 version = "0.2.1";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-8lpXWp3LPus8dgv5wi22C4taIxICJO0fqppD913X3RY=";
16 };
17
18 propagatedBuildInputs = [ pycodestyle ];
19
20 # Module has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "flake8_blind_except" ];
24
25 meta = {
26 description = "Flake8 extension that checks for blind except: statements";
27 homepage = "https://github.com/elijahandrews/flake8-blind-except";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ johbo ];
30 };
31}