nur-packages

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

commit 764fcb31f62a93e2743240b2ece15b1630deedb4
parent f486e957e2e58892464ccd4c597a54471e87488f
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Tue, 18 Feb 2020 01:09:36 +0300

Add sendmap20

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/tools/geo/sendmap20/default.nix | 31+++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -69,6 +69,7 @@ lib.makeScope newScope (self: with self; { redict = libsForQt5.callPackage ./applications/redict { inherit sources; }; + sendmap20 = callPackage ./tools/geo/sendmap20 { }; stardict-tools = # Needed for nixos-19.09 if pkgs ? libmysql diff --git a/pkgs/tools/geo/sendmap20/default.nix b/pkgs/tools/geo/sendmap20/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "sendmap20"; + version = "4.2"; + + src = fetchurl { + url = "https://web.archive.org/web/20160622234550if_/http://cgpsmapper.com/download/${pname}.gz"; + sha256 = "08fm3q3qpirxd2l6rwffs2h997vk04bl4jvq8fbjlymrsmdlqx4s"; + }; + + sourceRoot = "."; + unpackCmd = '' + gunzip -c $curSrc > sendmap20 + ''; + + dontBuild = true; + dontFixup = true; + + installPhase = '' + install -Dm755 sendmap20 -t "$out/bin" + ''; + + meta = with stdenv.lib; { + description = "Software for uploading maps to your GPS"; + homepage = "https://web.archive.org/web/20160620061746if_/http://www.cgpsmapper.com"; + license = licenses.free; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.linux; + }; +}