nur-packages

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

commit fcc691fdbfbbf1a527f3b8956f73b817ef70c9f2
parent 8d3463dd7a9365aadf6b9fc4ca00e966797b3dc9
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Fri, 24 Jul 2020 01:05:59 +0300

Add qmapshack-bin

Diffstat:
Apkgs/applications/qmapshack/bin.nix | 32++++++++++++++++++++++++++++++++
Mpkgs/default.nix | 1+
2 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/pkgs/applications/qmapshack/bin.nix b/pkgs/applications/qmapshack/bin.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchfromgh, unzip }: +let + pname = "qmapshack"; + version = "1.15.0"; +in +stdenv.mkDerivation { + inherit pname version; + + src = fetchfromgh { + owner = "Maproom"; + repo = "qmapshack"; + version = "V_${version}"; + name = "QMapShack_OSX.${stdenv.appleSdkVersion}_${version}.zip"; + sha256 = "0dhl2km0xbv77xabjwdiv3y1psbjwjlyqs5222ji5d33wxl8m07n"; + }; + + unpackPhase = "${unzip}/bin/unzip $src"; + + installPhase = '' + mkdir -p $out/Applications + cp -r QMapShack.app QMapTool.app $out/Applications + ''; + + meta = with stdenv.lib; { + homepage = "https://github.com/Maproom/qmapshack"; + description = "Consumer grade GIS software"; + license = licenses.gpl3; + maintainers = maintainers.sikmir; + platforms = [ "x86_64-darwin" ]; + skip.ci = true; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -23,6 +23,7 @@ lib.makeScope newScope ( openorienteering-mapper = libsForQt5.callPackage ./applications/openorienteering-mapper { inherit sources; }; + qmapshack-bin = callPackage ./applications/qmapshack/bin.nix { }; redict = libsForQt5.callPackage ./applications/redict { inherit sources; };