pythonPackages.pep8: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-25 21:16:08 -04:00 committed by Frederik Rietdijk
parent 7dc8b993d6
commit 9c36906e1a
2 changed files with 27 additions and 16 deletions

View File

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pythonAtLeast
}:
buildPythonPackage rec {
pname = "pep8";
version = "1.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "a113d5f5ad7a7abacef9df5ec3f2af23a20a28005921577b15dd584d099d5900";
};
# FAIL: test_checkers_testsuite (testsuite.test_all.Pep8TestCase)
doCheck = false;
meta = with stdenv.lib; {
homepage = "http://pep8.readthedocs.org/";
description = "Python style guide checker";
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
};
}

View File

@ -3123,22 +3123,7 @@ in {
inherit (pkgs) glibcLocales git;
};
pep8 = buildPythonPackage rec {
name = "pep8-${version}";
version = "1.7.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pep8/${name}.tar.gz";
sha256 = "a113d5f5ad7a7abacef9df5ec3f2af23a20a28005921577b15dd584d099d5900";
};
meta = {
homepage = "http://pep8.readthedocs.org/";
description = "Python style guide checker";
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
};
};
pep8 = callPackage ../development/python-modules/pep8 { };
pep257 = callPackage ../development/python-modules/pep257 { };