nixpkgs/pkgs/development/python-modules/flake8-blind-except/default.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

18 lines
559 B
Nix

{ lib, fetchurl, buildPythonPackage }:
buildPythonPackage rec {
pname = "flake8-blind-except";
name = "${pname}-${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;
};
}