patch requests-cache
This commit is contained in:
parent
5a047c538f
commit
57db286b1f
1 changed files with 10 additions and 1 deletions
|
@ -5,8 +5,17 @@
|
||||||
with pkgs; let
|
with pkgs; let
|
||||||
inherit (inputs.nixpkgs-stable.legacyPackages.${system}) pypy3;
|
inherit (inputs.nixpkgs-stable.legacyPackages.${system}) pypy3;
|
||||||
tarballs = import ../python/tarballs.nix {inherit inputs pkgs;};
|
tarballs = import ../python/tarballs.nix {inherit inputs pkgs;};
|
||||||
|
patched-python3Packages = python3Packages.override {
|
||||||
|
overrides = self: super: {
|
||||||
|
requests-cache = super.requests-cache.overrideAttrs (old: {
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml --replace 'attrs = "^21.2"' 'attrs = ">=21.2"'
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
};
|
||||||
|
};
|
||||||
in rec {
|
in rec {
|
||||||
plover-plugins-manager = with python3Packages;
|
plover-plugins-manager = with patched-python3Packages;
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
inherit (tarballs.plover-plugins-manager-src.passthru) pname version;
|
inherit (tarballs.plover-plugins-manager-src.passthru) pname version;
|
||||||
src = tarballs.plover-plugins-manager-src;
|
src = tarballs.plover-plugins-manager-src;
|
||||||
|
|
Reference in a new issue