forked from mirrors/nixpkgs
Merge pull request #288056 from marsam/update-flexget
flexget: 3.11.8 -> 3.11.17
This commit is contained in:
commit
7f0709f235
|
@ -4,27 +4,9 @@
|
|||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
let
|
||||
python = python3.override {
|
||||
# FlexGet doesn't support transmission-rpc>=5 yet
|
||||
# https://github.com/NixOS/nixpkgs/issues/258504
|
||||
# https://github.com/Flexget/Flexget/issues/3847
|
||||
packageOverrides = self: super: {
|
||||
transmission-rpc = super.transmission-rpc.overridePythonAttrs (old: rec {
|
||||
version = "4.3.1";
|
||||
src = fetchPypi {
|
||||
pname = "transmission_rpc";
|
||||
inherit version;
|
||||
hash = "sha256-Kh2eARIfM6MuXu7RjPPVhvPZ+bs0AXkA4qUCbfu5hHU=";
|
||||
};
|
||||
doCheck = false;
|
||||
});
|
||||
};
|
||||
};
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "flexget";
|
||||
version = "3.11.8";
|
||||
version = "3.11.17";
|
||||
pyproject = true;
|
||||
|
||||
# Fetch from GitHub in order to use `requirements.in`
|
||||
|
@ -32,7 +14,7 @@ python.pkgs.buildPythonApplication rec {
|
|||
owner = "Flexget";
|
||||
repo = "Flexget";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-kJLcOk1ci4agSoBO7L1JacVq5G2jTjOj1mh7J8S2D+Y=";
|
||||
hash = "sha256-C6BVSrF6xM3tnNnGS39T57N9jB5LnOq4W1hcF99CgPk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -40,12 +22,12 @@ python.pkgs.buildPythonApplication rec {
|
|||
sed 's/[~<>=][^;]*//' -i requirements.txt
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with python.pkgs; [
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
# See https://github.com/Flexget/Flexget/blob/master/requirements.txt
|
||||
apscheduler
|
||||
beautifulsoup4
|
||||
|
|
Loading…
Reference in a new issue