3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #288056 from marsam/update-flexget

flexget: 3.11.8 -> 3.11.17
This commit is contained in:
Mario Rodas 2024-02-11 20:19:28 -05:00 committed by GitHub
commit 7f0709f235
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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