From 006e7ae04e8b99020f192310a77eccd93e841633 Mon Sep 17 00:00:00 2001 From: Erik Hahn Date: Tue, 23 Jun 2015 03:25:25 +0200 Subject: [PATCH] qutebrowser: init at 0.2.1 --- .../browsers/qutebrowser/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/networking/browsers/qutebrowser/default.nix diff --git a/pkgs/applications/networking/browsers/qutebrowser/default.nix b/pkgs/applications/networking/browsers/qutebrowser/default.nix new file mode 100644 index 000000000000..da514c614b03 --- /dev/null +++ b/pkgs/applications/networking/browsers/qutebrowser/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, python, buildPythonPackage, qt5, pyqt5, jinja2, pygments, pyyaml, pypeg2}: + +let version = "0.2.1"; in + +buildPythonPackage { + name = "qutebrowser-${version}"; + namePrefix = ""; + + src = fetchurl { + url = "https://github.com/The-Compiler/qutebrowser/releases/download/v${version}/qutebrowser-${version}.tar.gz"; + sha256 = "b741a1a0336b8d36133603a3318d1c4c63c9abf50212919200cd2ae665b07111"; + }; + # Needs tox + doCheck = false; + + propagatedBuildInputs = [ + python pyyaml pyqt5 jinja2 pygments pypeg2 + ]; + + meta = { + homepage = https://github.com/The-Compiler/qutebrowser; + description = "Keyboard-focused browser with a minimal GUI"; + license = stdenv.lib.licenses.gpl3; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ada3e3bd1f75..d74550f2c791 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12299,6 +12299,10 @@ let gst_plugins_bad = null; }; + qutebrowser = callPackage ../applications/networking/browsers/qutebrowser { + inherit (python34Packages) buildPythonPackage python pyqt5 jinja2 pygments pyyaml pypeg2; + }; + rakarrack = callPackage ../applications/audio/rakarrack { inherit (xorg) libXpm libXft; fltk = fltk13;