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: ab526ed3340b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9fa17c5957a2
Choose a head ref
  • 5 commits
  • 5 files changed
  • 2 contributors

Commits on Apr 1, 2019

  1. python.pkgs.zipp: init at 0.3.3

    Robert Schütz committed Apr 1, 2019

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    4ea19b7 View commit details
  2. python.pkgs.importlib-metadata: 0.6 -> 0.8

    Robert Schütz committed Apr 1, 2019

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    6e4594f View commit details
  3. flexget: 2.17.20 -> 2.20.17

    Robert Schütz committed Apr 1, 2019

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    389dfb6 View commit details
  4. python.pkgs.progressbar: works on python3

    Robert Schütz committed Apr 1, 2019

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    c2fd8b3 View commit details

Commits on Apr 5, 2019

  1. Merge pull request #58690 from dotlambda/flexget-2.20.17

    flexget: 2.17.20 -> 2.20.17
    dotlambda authored Apr 5, 2019
    Copy the full SHA
    9fa17c5 View commit details
13 changes: 6 additions & 7 deletions pkgs/applications/networking/flexget/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ lib, python36 }:
{ lib, python3 }:

# Flexget have been a trouble maker in the past,
# if you see flexget breaking when updating packages, don't worry.
# The current state is that we have no active maintainers for this package.
# -- Mic92

let
python' = python36.override { inherit packageOverrides; };
python' = python3.override { inherit packageOverrides; };

packageOverrides = self: super: {
guessit = super.guessit.overridePythonAttrs (old: rec {
@@ -24,16 +24,14 @@ with python'.pkgs;

buildPythonApplication rec {
pname = "FlexGet";
version = "2.17.20";
version = "2.20.17";

src = fetchPypi {
inherit pname version;
sha256 = "a09ef9482ed54f7e96eb8b4d08c59687c5c43a3341c9d2675383693e6c3681c3";
sha256 = "ed021d8d5c10555dad8dc1cb93c012e17b541fc25fc122b7ca76bb7e53fe82b3";
};

postPatch = ''
# build for the correct python version
substituteInPlace setup.cfg --replace $'[bdist_wheel]\npython-tag = py27' ""
# remove dependency constraints
sed 's/==\([0-9]\.\?\)\+//' -i requirements.txt
'';
@@ -47,12 +45,13 @@ buildPythonApplication rec {
beautifulsoup4 html5lib
PyRSS2Gen pynzb rpyc jinja2
requests dateutil jsonschema
pathpy guessit APScheduler
pathpy guessit rebulk APScheduler
terminaltables colorclass
cherrypy flask flask-restful
flask-restplus flask-compress
flask_login flask-cors
pyparsing zxcvbn-python future
progressbar
# Optional requirements
deluge-client
# Plugins
17 changes: 12 additions & 5 deletions pkgs/development/python-modules/importlib-metadata/default.nix
Original file line number Diff line number Diff line change
@@ -1,29 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, zipp
, pathlib2
, contextlib2
, configparser
, isPy3k
, importlib-resources
, packaging
}:

buildPythonPackage rec {
pname = "importlib-metadata";
version = "0.6";
version = "0.8";

src = fetchPypi {
pname = "importlib_metadata";
inherit version;
sha256 = "36b02c84f9001adf65209fefdf951be8e9014a95eab9938c0779ad5670359b1c";
sha256 = "b50191ead8c70adfa12495fba19ce6d75f2e0275c14c5a7beb653d6799b512bd";
};

propagatedBuildInputs = [] ++ lib.optionals (!isPy3k) [ pathlib2 contextlib2 ];
nativeBuildInputs = [ setuptools_scm ];

checkInputs = [ importlib-resources ];
propagatedBuildInputs = [ zipp ]
++ lib.optionals (!isPy3k) [ pathlib2 contextlib2 configparser ];

checkInputs = [ importlib-resources packaging ];

meta = with lib; {
description = "Read metadata from Python packages";
homepage = https://importlib-metadata.readthedocs.io/;
license = licenses.asl20;
};
}
}
3 changes: 0 additions & 3 deletions pkgs/development/python-modules/progressbar/default.nix
Original file line number Diff line number Diff line change
@@ -4,9 +4,6 @@ buildPythonPackage rec {
pname = "progressbar";
version = "2.5";

# https://github.com/niltonvolpato/python-progressbar/issues/54
disabled = isPy3k;

src = fetchPypi {
inherit pname version;
sha256 = "5d81cb529da2e223b53962afd6c8ca0f05c6670e40309a7219eacc36af9b6c63";
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/zipp/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytest
, pytest-flake8
}:

buildPythonPackage rec {
pname = "zipp";
version = "0.3.3";

src = fetchPypi {
inherit pname version;
sha256 = "55ca87266c38af6658b84db8cfb7343cdb0bf275f93c7afaea0d8e7a209c7478";
};

nativeBuildInputs = [ setuptools_scm ];

checkInputs = [ pytest pytest-flake8 ];

checkPhase = ''
pytest
'';

meta = with lib; {
description = "Pathlib-compatible object wrapper for zip files";
homepage = https://github.com/jaraco/zipp;
license = licenses.mit;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -4738,6 +4738,8 @@ in {

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

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

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

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