Merge pull request #160003 from fabaff/fix-flexget

flexget: override jsonschema
This commit is contained in:
Fabian Affolter 2022-03-02 22:04:20 +01:00 committed by GitHub
commit c27c301544
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,7 @@
{ lib, python3Packages, fetchFromGitHub }:
{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "flexget";
@ -9,7 +12,7 @@ python3Packages.buildPythonApplication rec {
owner = "flexget";
repo = "flexget";
rev = "v${version}";
sha256 = "sha256-68tD7I7MI/Cp94tp6c4lQx+8xwRnJTKTF/3SWz4Ddgg=";
hash = "sha256-68tD7I7MI/Cp94tp6c4lQx+8xwRnJTKTF/3SWz4Ddgg=";
};
postPatch = ''
@ -18,7 +21,7 @@ python3Packages.buildPythonApplication rec {
ln -sf requirements.in requirements.txt
# remove dependency constraints
sed 's/==\([0-9]\.\?\)\+//' -i requirements.txt
sed 's/[>=]=.*//' -i requirements.txt
# "zxcvbn-python" was renamed to "zxcvbn", and we don't have the former in
# nixpkgs. See: https://github.com/NixOS/nixpkgs/issues/62110