mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
38 lines
1.1 KiB
Nix
38 lines
1.1 KiB
Nix
{ stdenv, fetchurl, python, buildPythonApplication, qtmultimedia, pyqt5
|
|
, jinja2, pygments, pyyaml, pypeg2, gst-plugins-base, gst-plugins-good
|
|
, gst-plugins-bad, gst-libav, wrapGAppsHook, glib_networking }:
|
|
|
|
let version = "0.5.1"; in
|
|
|
|
buildPythonApplication rec {
|
|
name = "qutebrowser-${version}";
|
|
namePrefix = "";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/The-Compiler/qutebrowser/releases/download/v${version}/${name}.tar.gz";
|
|
sha256 = "1pxgap04rv94kgcp9a05xx2kwg3j6jv8f6d3ww7hqs2xnkj8wzqb";
|
|
};
|
|
|
|
# Needs tox
|
|
doCheck = false;
|
|
|
|
buildInputs = [ wrapGAppsHook
|
|
gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav
|
|
glib_networking ];
|
|
|
|
propagatedBuildInputs = [
|
|
python pyyaml pyqt5 jinja2 pygments pypeg2
|
|
];
|
|
|
|
makeWrapperArgs = ''
|
|
--prefix QT_PLUGIN_PATH : "${qtmultimedia}/lib/qt5/plugins"
|
|
'';
|
|
|
|
meta = {
|
|
homepage = https://github.com/The-Compiler/qutebrowser;
|
|
description = "Keyboard-focused browser with a minimal GUI";
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
maintainers = [ stdenv.lib.maintainers.jagajaga ];
|
|
};
|
|
}
|