1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/pycodestyle/default.nix

27 lines
757 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, fetchpatch }:
2017-07-13 01:32:27 +01:00
buildPythonPackage rec {
pname = "pycodestyle";
2018-07-22 11:16:52 +01:00
version = "2.4.0";
2017-07-13 01:32:27 +01:00
src = fetchPypi {
inherit pname version;
2018-07-22 11:16:52 +01:00
sha256 = "cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a";
2017-07-13 01:32:27 +01:00
};
patches = [
# https://github.com/PyCQA/pycodestyle/pull/801
(fetchpatch {
url = https://github.com/PyCQA/pycodestyle/commit/397463014fda3cdefe8d6c9d117ae16d878dc494.patch;
sha256 = "01zask2y2gim5il9lcmlhr2qaadv9v7kaw1y619l8xbjhpbq2zh8";
})
];
2017-07-13 01:32:27 +01:00
meta = with lib; {
description = "Python style guide checker (formerly called pep8)";
homepage = https://pycodestyle.readthedocs.io;
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
};
}