nur-packages

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

commit f486e957e2e58892464ccd4c597a54471e87488f
parent 05c78bad874aec8f76039c58eee625da61447178
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Mon, 17 Feb 2020 10:53:15 +0300

Add cgpsmapper

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

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -8,6 +8,7 @@ lib.makeScope newScope (self: with self; { inherit sources; cfiles = callPackage ./tools/cfiles { }; + cgpsmapper = callPackage ./tools/geo/cgpsmapper { }; cheetah3 = python3Packages.callPackage ./development/python-modules/cheetah3 { inherit sources; }; diff --git a/pkgs/tools/geo/cgpsmapper/default.nix b/pkgs/tools/geo/cgpsmapper/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "cgpsmapper"; + version = "0093c"; + + src = fetchurl { + url = "https://web.archive.org/web/20160620102839if_/http://www.cgpsmapper.com/download/${pname}-static.gz"; + sha256 = "0h2xjkzkg566bgvg8gbl1hmjjimv2xbhv2csd54naq1vqphqjchx"; + }; + + sourceRoot = "."; + unpackCmd = '' + gunzip -c $curSrc > cgpsmapper-static + ''; + + dontBuild = true; + dontFixup = true; + + installPhase = '' + install -Dm755 cgpsmapper-static -t "$out/bin" + ''; + + meta = with stdenv.lib; { + description = "GIS converter into GARMIN compatible format maps"; + homepage = "https://web.archive.org/web/20160620061746if_/http://www.cgpsmapper.com"; + license = licenses.free; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.linux; + }; +}