nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 41fe58cd791bfc7ba0c776567bb77837ef86a07e
parent 9893ddaacd694ff47593b87d354f35531eef6b30
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sun,  2 Aug 2020 16:28:32 +0300

Add qutebrowser-bin

Diffstat:
Apkgs/applications/qutebrowser/bin.nix | 36++++++++++++++++++++++++++++++++++++
Mpkgs/default.nix | 1+
2 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/pkgs/applications/qutebrowser/bin.nix b/pkgs/applications/qutebrowser/bin.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchfromgh, undmg }: +let + pname = "qutebrowser"; + version = "1.13.1"; +in +stdenv.mkDerivation { + inherit pname version; + + src = fetchfromgh { + owner = "qutebrowser"; + repo = "qutebrowser"; + version = "v${version}"; + name = "qutebrowser-${version}.dmg"; + sha256 = "0ddm15ps896q70av3ndyd75vdqz7hvgpn07nbrniwrmfsd4nmm8f"; + }; + + preferLocalBuild = true; + + nativeBuildInputs = [ undmg ]; + + sourceRoot = "qutebrowser.app"; + + installPhase = '' + mkdir -p $out/Applications/qutebrowser.app + cp -R . $out/Applications/qutebrowser.app + ''; + + meta = with stdenv.lib; { + description = "A keyboard-driven, vim-like browser based on PyQt5"; + homepage = "https://www.qutebrowser.org/"; + license = licenses.gpl3Plus; + platforms = [ "x86_64-darwin" ]; + maintainers = [ maintainers.sikmir ]; + skip.ci = true; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -28,6 +28,7 @@ lib.makeScope newScope ( }; openorienteering-mapper-bin = callPackage ./applications/openorienteering-mapper/bin.nix { }; qmapshack-bin = callPackage ./applications/qmapshack/bin.nix { }; + qutebrowser-bin = callPackage ./applications/qutebrowser/bin.nix { }; redict = libsForQt5.callPackage ./applications/redict { inherit sources; };