nur-packages

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

commit 5060775260ac564ae6ff9e66c9c700f96e27aa21
parent f170b8c418f3aa5b9cc045871e7607571be7fc91
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Tue, 31 Dec 2019 22:21:32 +0300

Add qmapshack-maps

Diffstat:
Mdefault.nix | 1+
Apkgs/qmapshack-maps/default.nix | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/default.nix b/default.nix @@ -78,6 +78,7 @@ in rec { openorienteering-mapper = libsForQt5.callPackage ./pkgs/openorienteering-mapper { inherit (sources) mapper; }; + qmapshack-maps = callPackage ./pkgs/qmapshack-maps { }; redict = libsForQt5.callPackage ./pkgs/redict { inherit (sources) redict; }; diff --git a/pkgs/qmapshack-maps/default.nix b/pkgs/qmapshack-maps/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchzip }: + +stdenv.mkDerivation rec { + pname = "qmapshack-maps"; + version = "2019-12-26"; + + src = fetchzip { + url = "http://www.mtb-touring.net/wordpress/wp-content/uploads/Onlinemaps.zip"; + sha256 = "0rffdhxs76hfm4gipz63sc3b56gi36lfzrfz57bzpr6zshb5wxrd"; + stripRoot = false; + }; + + installPhase = '' + install -dm755 "$out/share/qmapshack/Maps" + cp -r $src/* "$out/share/qmapshack/Maps" + ''; + + meta = with stdenv.lib; { + description = "Onlinekarten einbinden"; + homepage = "http://www.mtb-touring.net/qms/onlinekarten-einbinden/"; + license = licenses.free; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.unix; + }; +}