Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9110d40d20a6
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f148e894b3ae
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 11, 2018

  1. python.pkgs.pycodestyle: fix building with python37

    (cherry picked from commit a263ab4)
    FRidh committed Nov 11, 2018
    Copy the full SHA
    f148e89 View commit details
Showing with 9 additions and 1 deletion.
  1. +9 −1 pkgs/development/python-modules/pycodestyle/default.nix
10 changes: 9 additions & 1 deletion pkgs/development/python-modules/pycodestyle/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib, buildPythonPackage, fetchPypi, fetchpatch }:

buildPythonPackage rec {
pname = "pycodestyle";
@@ -9,6 +9,14 @@ buildPythonPackage rec {
sha256 = "cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a";
};

patches = [
# https://github.com/PyCQA/pycodestyle/pull/801
(fetchpatch {
url = https://github.com/PyCQA/pycodestyle/commit/397463014fda3cdefe8d6c9d117ae16d878dc494.patch;
sha256 = "01zask2y2gim5il9lcmlhr2qaadv9v7kaw1y619l8xbjhpbq2zh8";
})
];

meta = with lib; {
description = "Python style guide checker (formerly called pep8)";
homepage = https://pycodestyle.readthedocs.io;