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

Commits on Jan 4, 2020

  1. loguru: fix build on darwin

    marsam committed Jan 4, 2020

    Unverified

    The committer email address is not verified.
    Copy the full SHA
    736d305 View commit details
  2. flexget: 2.21.25 -> 3.0.31

    marsam committed Jan 4, 2020
    Copy the full SHA
    b5c8ef0 View commit details
  3. Copy the full SHA
    0f9eda8 View commit details

Commits on Jan 5, 2020

  1. Merge pull request #76956 from marsam/update-flexget

    flexget: 2.21.25 -> 3.0.31
    marsam authored Jan 5, 2020
    Copy the full SHA
    97dca00 View commit details
Showing with 43 additions and 52 deletions.
  1. +37 −46 pkgs/applications/networking/flexget/default.nix
  2. +6 −6 pkgs/development/python-modules/loguru/default.nix
83 changes: 37 additions & 46 deletions pkgs/applications/networking/flexget/default.nix
Original file line number Diff line number Diff line change
@@ -1,34 +1,12 @@
{ lib, python3 }:
{ lib, python3Packages }:

# 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' = python3.override { inherit packageOverrides; };

packageOverrides = self: super: {
guessit = super.guessit.overridePythonAttrs (old: rec {
version = "3.0.3";
src = old.src.override {
inherit version;
sha256 = "1q06b3k31bfb8cxjimpf1rkcrwnc596a9cppjw15minvdangl32r";
};
});
};

in

with python'.pkgs;

buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "FlexGet";
version = "2.21.25";
version = "3.0.31";

src = fetchPypi {
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "0l77fgg0w5dca1bwk4fcc1yz1g7njb0x07yx4bazyg821gl15rc9";
sha256 = "b9edd905556c77b40046b5d7a27151b76a1c9a8c43a4e4153279ad42a784844e";
};

postPatch = ''
@@ -43,29 +21,42 @@ buildPythonApplication rec {
# ~400 failures
doCheck = false;

propagatedBuildInputs = [
propagatedBuildInputs = with python3Packages; [
# See https://github.com/Flexget/Flexget/blob/master/requirements.in
feedparser sqlalchemy pyyaml
beautifulsoup4 html5lib
PyRSS2Gen pynzb rpyc jinja2
requests dateutil jsonschema
pathpy guessit rebulk APScheduler
terminaltables colorclass
cherrypy flask flask-restful
flask-restplus flask-compress
flask_login flask-cors
pyparsing zxcvbn future
APScheduler
beautifulsoup4
cherrypy
colorclass
feedparser
flask-compress
flask-cors
flask_login
flask-restful
flask-restplus
flask
guessit
html5lib
jinja2
jsonschema
loguru
progressbar
# Optional requirements
deluge-client
# Plugins
transmissionrpc
] ++ lib.optional (pythonOlder "3.4") pathlib;
pynzb
pyparsing
PyRSS2Gen
dateutil
pyyaml
rebulk
requests
rpyc
sqlalchemy
terminaltables
zxcvbn
];

meta = with lib; {
homepage = https://flexget.com/;
description = "Multipurpose automation tool for content like torrents";
homepage = "https://flexget.com/";
description = "Multipurpose automation tool for all of your media";
license = licenses.mit;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ marsam ];
};
}
12 changes: 6 additions & 6 deletions pkgs/development/python-modules/loguru/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, pytest, colorama }:
{ stdenv, buildPythonPackage, fetchPypi, isPy27, colorama, pytestCheckHook }:

buildPythonPackage rec {
pname = "loguru";
@@ -10,12 +10,12 @@ buildPythonPackage rec {
sha256 = "d5ddf363b7e0e562652f283f74a89bf35601baf16b70f2cd2736a2f8c6638748";
};

checkInputs = [ pytest colorama ];
checkPhase = ''
pytest -k 'not test_time_rotation_reopening'
'';
checkInputs = [ pytestCheckHook colorama ];

meta = with lib; {
disabledTests = [ "test_time_rotation_reopening" "test_file_buffering" ]
++ stdenv.lib.optionals stdenv.isDarwin [ "test_rotation_and_retention" "test_rotation_and_retention_timed_file" "test_renaming" ];

meta = with stdenv.lib; {
homepage = https://github.com/Delgan/loguru;
description = "Python logging made (stupidly) simple";
license = licenses.mit;