Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qutebrowser: cleanup #265757

Merged
merged 2 commits into from
Nov 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions pkgs/applications/networking/browsers/qutebrowser/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
, widevine-cdm
, enableVulkan ? stdenv.isLinux
, vulkan-loader
, buildPackages
}:

let
Expand Down Expand Up @@ -56,10 +55,7 @@ python3.pkgs.buildPythonApplication {
# scripts and userscripts libs
tldextract beautifulsoup4
readability-lxml pykeepass
] ++ lib.optionals ((builtins.tryEval stem.outPath).success) [
# error: stem-1.8.2 not supported for interpreter python3.11
stem
] ++ [
pynacl
# extensive ad blocking
adblock
Expand All @@ -86,7 +82,7 @@ python3.pkgs.buildPythonApplication {
runHook preInstall

make -f misc/Makefile \
PYTHON=${buildPackages.python3}/bin/python3 \
PYTHON=${python3.pythonOnBuildForHost.interpreter} \
dotlambda marked this conversation as resolved.
Show resolved Hide resolved
PREFIX=. \
DESTDIR="$out" \
DATAROOTDIR=/share \
Expand Down Expand Up @@ -125,8 +121,10 @@ python3.pkgs.buildPythonApplication {

meta = with lib; {
homepage = "https://github.com/qutebrowser/qutebrowser";
changelog = "https://github.com/qutebrowser/qutebrowser/blob/v${version}/doc/changelog.asciidoc";
description = "Keyboard-focused browser with a minimal GUI";
license = licenses.gpl3Plus;
mainProgram = "qutebrowser";
platforms = if enableWideVine then [ "x86_64-linux" ] else qtwebengine.meta.platforms;
maintainers = with maintainers; [ jagajaga rnhmjoj ebzzry dotlambda nrdxp ];
};
Expand Down