python.pkgs.pylint: use fetchPypi
This commit is contained in:
parent
6bbc2e09da
commit
c4ec44e4d7
@ -1,13 +1,13 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, python, astroid, isort,
|
||||
{ stdenv, buildPythonPackage, fetchPypi, python, astroid, isort,
|
||||
pytest, pytestrunner, mccabe, configparser, backports_functools_lru_cache }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pylint";
|
||||
version = "1.7.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/${pname}/${name}.tar.gz";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ea6afb93a9ed810cf52ff3838eb3a15e2bf6a81b80de0eaede1ce442caa5ca69";
|
||||
};
|
||||
|
||||
@ -39,4 +39,4 @@
|
||||
license = licenses.gpl1Plus;
|
||||
maintainers = with maintainers; [ nand0p ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user