commit 108bd08f4a779242e8444692b59b04b580a3360c parent 63f205a3847c1ba89a142bdeecb1a28a0f5cdb33 Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Mon, 16 Aug 2021 22:38:11 +0300 Add gpx2yaml Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/gpx/gpx2yaml/default.nix | | | 22 | ++++++++++++++++++++++ |
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -208,6 +208,7 @@ lib.makeScope newScope ( gpx-animator = callPackage ./gpx/gpx-animator { }; gpx-interpolate = callPackage ./gpx/gpx-interpolate { }; gpx-layer = perlPackages.callPackage ./gpx/gpx-layer { }; + gpx2yaml = callPackage ./gpx/gpx2yaml { }; gpxtools = callPackage ./gpx/gpxtools { }; gpxtrackposter = callPackage ./gpx/gpxtrackposter { }; diff --git a/pkgs/gpx/gpx2yaml/default.nix b/pkgs/gpx/gpx2yaml/default.nix @@ -0,0 +1,22 @@ +{ lib, stdenv, fetchgit }: + +stdenv.mkDerivation rec { + pname = "gpx2yaml"; + version = "2021-08-16"; + + src = fetchgit { + url = "git://git.sikmir.ru/${pname}"; + rev = "c3fc569023c5b3414bc6711a6a12249435d98af5"; + sha256 = "sha256-OXzt5sc1s2esKY1YmeGc3zuo9GxMYfYDvovCSt/kIdE="; + }; + + installFlags = [ "PREFIX=$(out)" ]; + + meta = with lib; { + description = "GPX to YAML converter"; + homepage = "https://git.sikmir.ru/gpx2yaml/file/README.md.html"; + license = licenses.isc; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}