diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-01-07 02:18:36 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-01-07 02:18:47 +0000 |
commit | 36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2 (patch) | |
tree | b3faaf573407b32aa645237a4d16b82778a39a92 /nixpkgs/pkgs/applications/networking/flexget | |
parent | 4e31070265257dc67d120c27e0f75c2344fdfa9a (diff) | |
parent | abf060725d7614bd3b9f96764262dfbc2f9c2199 (diff) | |
download | nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.gz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.bz2 nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.lz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.xz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.zst nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.zip |
Add 'nixpkgs/' from commit 'abf060725d7614bd3b9f96764262dfbc2f9c2199'
git-subtree-dir: nixpkgs git-subtree-mainline: 4e31070265257dc67d120c27e0f75c2344fdfa9a git-subtree-split: abf060725d7614bd3b9f96764262dfbc2f9c2199
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/flexget')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/flexget/default.nix | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/flexget/default.nix b/nixpkgs/pkgs/applications/networking/flexget/default.nix new file mode 100644 index 000000000000..8508ab10e1ad --- /dev/null +++ b/nixpkgs/pkgs/applications/networking/flexget/default.nix @@ -0,0 +1,66 @@ +{ lib, python36 }: + +# 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; }; + + 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 { + pname = "FlexGet"; + version = "2.17.20"; + + src = fetchPypi { + inherit pname version; + sha256 = "a09ef9482ed54f7e96eb8b4d08c59687c5c43a3341c9d2675383693e6c3681c3"; + }; + + 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 + ''; + + # ~400 failures + doCheck = false; + + propagatedBuildInputs = [ + # See https://github.com/Flexget/Flexget/blob/master/requirements.in + feedparser sqlalchemy pyyaml + beautifulsoup4 html5lib + PyRSS2Gen pynzb rpyc jinja2 + requests dateutil jsonschema + pathpy guessit APScheduler + terminaltables colorclass + cherrypy flask flask-restful + flask-restplus flask-compress + flask_login flask-cors + pyparsing zxcvbn-python future + # Optional requirements + deluge-client + ] ++ lib.optional (pythonOlder "3.4") pathlib; + + meta = with lib; { + homepage = https://flexget.com/; + description = "Multipurpose automation tool for content like torrents"; + license = licenses.mit; + maintainers = with maintainers; [ ]; + }; +} |