forked from mirrors/nixpkgs
python310Packages.pep8-naming: 0.13.1 -> 0.13.3
Diff: https://github.com/PyCQA/pep8-naming/compare/0.13.1...0.13.3 Changelog: https://github.com/PyCQA/pep8-naming/blob/0.13.3/CHANGELOG.rst
This commit is contained in:
parent
5bfdf3cdec
commit
4778c3cd3a
|
@ -1,31 +1,25 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, flake8
|
||||
, python
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pep8-naming";
|
||||
version = "0.13.1";
|
||||
version = "0.13.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyCQA";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-NG4hLZcOMKprUyMnzkHRmUCFGyYgvT6ydBQNpgWE9h0=";
|
||||
hash = "sha256-l7zZUOMWyTxnTbkFkzfABY/eVMKnv0kNJ0UPzJo0W1Y=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes tests for flake8 => 5
|
||||
# Remove on next release
|
||||
(fetchpatch {
|
||||
url = "https://github.com/PyCQA/pep8-naming/commit/c8808a0907f64b5d081cff8d3f9443e5ced1474e.patch";
|
||||
sha256 = "sha256-4c+a0viS0rXuxj+TuIfgrKZjnrjiJjDoYBbNp3+6Ed0=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flake8
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue