summary refs log tree commit diff
path: root/pkgs/development/python-modules/adblock
diff options
context:
space:
mode:
authorRobert Schütz <dev@schuetz-co.de>2021-06-02 11:51:02 +0200
committerRobert Schütz <dev@schuetz-co.de>2021-06-02 11:51:02 +0200
commit9f9de0069cf323533375286468e44f134c117234 (patch)
tree0ad7e6820eecb7f3e84433587f0fdb378e45a1f9 /pkgs/development/python-modules/adblock
parent29043644b0119bd3c5e695fb90ea5e52b4656045 (diff)
downloadnixpkgs-9f9de0069cf323533375286468e44f134c117234.tar
nixpkgs-9f9de0069cf323533375286468e44f134c117234.tar.gz
nixpkgs-9f9de0069cf323533375286468e44f134c117234.tar.bz2
nixpkgs-9f9de0069cf323533375286468e44f134c117234.tar.lz
nixpkgs-9f9de0069cf323533375286468e44f134c117234.tar.xz
nixpkgs-9f9de0069cf323533375286468e44f134c117234.tar.zst
nixpkgs-9f9de0069cf323533375286468e44f134c117234.zip
python3Packages.adblock: fix build on Darwin
Diffstat (limited to 'pkgs/development/python-modules/adblock')
-rw-r--r--pkgs/development/python-modules/adblock/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/adblock/default.nix b/pkgs/development/python-modules/adblock/default.nix
index 8fc697828f0..59d1f2e4e7a 100644
--- a/pkgs/development/python-modules/adblock/default.nix
+++ b/pkgs/development/python-modules/adblock/default.nix
@@ -8,6 +8,7 @@
 , openssl
 , publicsuffix-list
 , isPy27
+, libiconv
 , CoreFoundation
 , Security
 }:
@@ -37,7 +38,7 @@ buildPythonPackage rec {
     ++ (with rustPlatform; [ cargoSetupHook maturinBuildHook ]);
 
   buildInputs = [ openssl ]
-    ++ lib.optionals stdenv.isDarwin [ CoreFoundation Security ];
+    ++ lib.optionals stdenv.isDarwin [ libiconv CoreFoundation Security ];
 
   PSL_PATH = "${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat";
 
@@ -49,7 +50,7 @@ buildPythonPackage rec {
   meta = with lib; {
     description = "Python wrapper for Brave's adblocking library, which is written in Rust";
     homepage = "https://github.com/ArniDagur/python-adblock/";
-    maintainers = with maintainers; [ petabyteboy ];
+    maintainers = with maintainers; [ petabyteboy dotlambda ];
     license = with licenses; [ asl20 mit ];
   };
 }