nur-packages

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

commit 08cec1eca02e1e8ce2d8710870be2d6199cbc454
parent 6646906869a0689d7510194a5b48a9e8dcfe9ddd
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Thu, 19 Aug 2021 21:34:42 +0300

Add gpx-cmd-tools

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/gpx/gpx-cmd-tools/default.nix | 23+++++++++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -205,6 +205,7 @@ lib.makeScope newScope ( cmpgpx = callPackage ./gpx/cmpgpx { }; gpx-animator = callPackage ./gpx/gpx-animator { }; + gpx-cmd-tools = callPackage ./gpx/gpx-cmd-tools { }; gpx-interpolate = callPackage ./gpx/gpx-interpolate { }; gpx-layer = perlPackages.callPackage ./gpx/gpx-layer { }; gpx2yaml = callPackage ./gpx/gpx2yaml { }; diff --git a/pkgs/gpx/gpx-cmd-tools/default.nix b/pkgs/gpx/gpx-cmd-tools/default.nix @@ -0,0 +1,23 @@ +{ lib, fetchFromGitHub, python3Packages }: + +python3Packages.buildPythonApplication rec { + pname = "gpx-cmd-tools"; + version = "2020-08-08"; + + src = fetchFromGitHub { + owner = "tkrajina"; + repo = pname; + rev = "e042c4d65cc153ddf3589b4d8723bed5f71a9d0d"; + hash = "sha256-x3/PNACBrT5XSlgpZj0WO27KW0DiF6Je2z3gX5g/Gz0="; + }; + + propagatedBuildInputs = with python3Packages; [ gpxpy ]; + + meta = with lib; { + description = "Set of GPX command-line utilities"; + inherit (src.meta) homepage; + license = licenses.asl20; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}