nur-packages

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

commit ec4a50253e054c0e6ab2be10207797627f0e3a15
parent 08cec1eca02e1e8ce2d8710870be2d6199cbc454
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Thu, 19 Aug 2021 21:35:46 +0300

Add gpxchart

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/gpx/gpxchart/default.nix | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -209,6 +209,7 @@ lib.makeScope newScope ( gpx-interpolate = callPackage ./gpx/gpx-interpolate { }; gpx-layer = perlPackages.callPackage ./gpx/gpx-layer { }; gpx2yaml = callPackage ./gpx/gpx2yaml { }; + gpxchart = callPackage ./gpx/gpxchart { }; gpxtools = callPackage ./gpx/gpxtools { }; gpxtrackposter = callPackage ./gpx/gpxtrackposter { }; diff --git a/pkgs/gpx/gpxchart/default.nix b/pkgs/gpx/gpxchart/default.nix @@ -0,0 +1,25 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "gpxchart"; + version = "0.0.1"; + + src = fetchFromGitHub { + owner = "tkrajina"; + repo = pname; + rev = "v${version}"; + hash = "sha256-3HDj4k5mSUrJOxN2DrsHjMtX8PylxHExJeMc5CuaPP8"; + }; + + vendorSha256 = null; + + doCheck = false; + + meta = with lib; { + description = "A command-line tool and library for elevation charts from GPX files"; + inherit (src.meta) homepage; + license = licenses.asl20; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}