python310Packages.adblock: fix build
This commit is contained in:
parent
44ac1cbea8
commit
b41bc9a0e0
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, buildPythonPackage
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
@ -29,6 +30,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-5g5xdUzH/RTVwu4Vfb5Cb1t0ruG0EXgiXjrogD/+JCU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/ArniDagur/python-adblock/pull/91
|
||||
(fetchpatch {
|
||||
name = "pep-621-compat.patch";
|
||||
url = "https://github.com/ArniDagur/python-adblock/commit/2a8716e0723b60390f0aefd0e05f40ba598ac73f.patch";
|
||||
hash = "sha256-n9+LDs0no66OdNZxw3aU57ngWrAbmm6hx4qIuxXoatM=";
|
||||
})
|
||||
];
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user