pythonPackages.pep8: refactor move to python-modules
This commit is contained in:
parent
7dc8b993d6
commit
9c36906e1a
26
pkgs/development/python-modules/pep8/default.nix
Normal file
26
pkgs/development/python-modules/pep8/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user