flexget: 3.1.133 -> 3.1.135

This commit is contained in:
Mario Rodas 2021-08-22 00:54:55 -05:00
parent a2ce822382
commit 94321faf13

View File

@ -1,16 +1,22 @@
{ lib, python3Packages }:
{ lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
pname = "flexget";
version = "3.1.133";
version = "3.1.135";
src = python3Packages.fetchPypi {
pname = "FlexGet";
inherit version;
sha256 = "1mfmy2nbxx9k6hnhwxpf2062rwspigfhbvkpr161grd5amcs2cr6";
# Fetch from GitHub in order to use `requirements.in`
src = fetchFromGitHub {
owner = "flexget";
repo = "flexget";
rev = "v${version}";
sha256 = "01qj9pp3b7qxpv1yzak4ql1d95dq6611crpp4y5z44mg5gmbql7g";
};
postPatch = ''
# Symlink requirements.in because upstream uses `pip-compile` which yields
# python-version dependent requirements
ln -sf requirements.in requirements.txt
# remove dependency constraints
sed 's/==\([0-9]\.\?\)\+//' -i requirements.txt