mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
pythonPackages.flake8-debugger: fix build
This commit is contained in:
parent
4779989c4e
commit
5c897bdd59
1 changed files with 15 additions and 6 deletions
|
@ -1,15 +1,24 @@
|
|||
{ lib, fetchurl, buildPythonPackage, flake8, nose }:
|
||||
{ lib, fetchPypi, buildPythonPackage, flake8, pycodestyle, pytestrunner, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flake8-debugger";
|
||||
name = "${pname}-${version}";
|
||||
version = "3.1.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/f/flake8-debugger/${name}.tar.gz";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "be4fb88de3ee8f6dd5053a2d347e2c0a2b54bab6733a2280bb20ebd3c4ca1d97";
|
||||
};
|
||||
buildInputs = [ nose ];
|
||||
propagatedBuildInputs = [ flake8 ];
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
|
||||
propagatedBuildInputs = [ flake8 pycodestyle ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
# Tests not included in PyPI tarball
|
||||
# FIXME: Remove when https://github.com/JBKahn/flake8-debugger/pull/15 is merged
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/jbkahn/flake8-debugger;
|
||||
description = "ipdb/pdb statement checker plugin for flake8";
|
||||
|
|
Loading…
Reference in a new issue