Merge pull request #8469 from ehahn/qutebrowser

add packages: qutebrowser + dependency pypeg2
This commit is contained in:
Arseniy Seroka 2015-06-23 17:22:26 +03:00
commit 2aac4c301c
3 changed files with 45 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -12303,6 +12303,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;

View file

@ -16043,5 +16043,21 @@ let
};
};
pypeg2 = buildPythonPackage rec {
version = "2.15.1";
name = "pypeg2-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pyPEG2/pyPEG2-${version}.tar.gz";
sha256 = "f4814a5f9c84bbb0794bef8d2a5871f4aed25366791c55e2162681873ad8bd21";
};
meta = {
description = "PEG parser interpreter in Python";
homepage = http://fdik.org/pyPEG;
license = licenses.gpl2;
};
};
}; in pythonPackages