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: b73579e5f160
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 123e3a7e9d87
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 13, 2018

  1. pythonPackages.eradicate: init at 0.2.1

    mmlb authored and FRidh committed Oct 13, 2018
    Copy the full SHA
    80651cf View commit details
  2. pythonPackages.pylama: 7.4.3 -> 7.5.5

    mmlb authored and FRidh committed Oct 13, 2018
    Copy the full SHA
    123e3a7 View commit details
Showing with 33 additions and 11 deletions.
  1. +19 −0 pkgs/development/python-modules/eradicate/default.nix
  2. +12 −11 pkgs/development/python-modules/pylama/default.nix
  3. +2 −0 pkgs/top-level/python-packages.nix
19 changes: 19 additions & 0 deletions pkgs/development/python-modules/eradicate/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{ lib, buildPythonPackage, fetchPypi }:

buildPythonPackage rec {
pname = "eradicate";
version = "0.2.1";

src = fetchPypi {
inherit pname version;
sha256 = "092zmck919bn6sl31ixrzhn88g9nvhwzmwzpq8dzgn6c8k2h3bzr";
};

meta = with lib; {
description = "eradicate removes commented-out code from Python files.";
homepage = https://github.com/myint/eradicate;
license = [ licenses.mit ];

maintainers = [ maintainers.mmlb ];
};
}
23 changes: 12 additions & 11 deletions pkgs/development/python-modules/pylama/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch
, mccabe, pycodestyle, pydocstyle, pyflakes
{ lib, buildPythonPackage, fetchPypi
, eradicate, mccabe, pycodestyle, pydocstyle, pyflakes
, pytest, ipdb }:

buildPythonPackage rec {
pname = "pylama";
version = "7.4.3";
version = "7.5.5";

src = fetchPypi {
inherit pname version;
sha256 = "390c1dab1daebdf3d6acc923e551b035c3faa77d8b96b98530c230493f9ec712";
sha256 = "1zg7wca9s5srvbj3kawalv4438l47hg7m6gaw8rd4i43lbyyqya6";
};

patches = fetchpatch {
url = "${meta.homepage}/pull/116.patch";
sha256 = "00jz5k2w0xahs1m3s603j6l4cwzz92qsbbk81fh17nq0f47999mv";
};

propagatedBuildInputs = [ mccabe pycodestyle pydocstyle pyflakes ];
propagatedBuildInputs = [
eradicate
mccabe
pycodestyle
pydocstyle
pyflakes
];

checkInputs = [ pytest ipdb ];

@@ -27,7 +28,7 @@ buildPythonPackage rec {
description = "Code audit tool for python";
homepage = https://github.com/klen/pylama;
# ambiguous license declarations: https://github.com/klen/pylama/issues/64
license = licenses.lgpl3;
license = [ licenses.lgpl3 ];
maintainers = with maintainers; [ dotlambda ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -324,6 +324,8 @@ in {

diff-match-patch = callPackage ../development/python-modules/diff-match-patch { };

eradicate = callPackage ../development/python-modules/eradicate { };

fido2 = callPackage ../development/python-modules/fido2 { };

filterpy = callPackage ../development/python-modules/filterpy { };