Skip to content

Commit

Permalink
Merge pull request #321150 from rhelmot/libpsl-python
Browse files Browse the repository at this point in the history
libpsl: make python both a build and runtime dependency
  • Loading branch information
Ericson2314 committed Jul 24, 2024
2 parents 89af439 + feabbe8 commit 02cbd68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/libraries/libpsl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
, libxslt
, pkg-config
, python3
, buildPackages
, valgrind
, publicsuffix-list
}:
Expand All @@ -33,14 +34,14 @@ stdenv.mkDerivation rec {
gtk-doc
lzip
pkg-config
python3
libxslt
];

buildInputs = [
libidn2
libunistring
libxslt
python3
];

propagatedBuildInputs = [
Expand All @@ -61,6 +62,7 @@ stdenv.mkDerivation rec {
"--with-psl-distfile=${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat"
"--with-psl-file=${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat"
"--with-psl-testfile=${publicsuffix-list}/share/publicsuffix/test_psl.txt"
"PYTHON=${lib.getExe buildPackages.python3}"
];

enableParallelBuilding = true;
Expand Down

0 comments on commit 02cbd68

Please sign in to comment.