nur-packages

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

commit c6b587f46ab5a83e1b9862e9d5cca3f00095a2c8
parent 34f80ca17177970509acc5682bb38ebdeb30f05d
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 29 Jan 2023 11:30:00 +0300

Add mobroute

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/geospatial/mobroute/default.nix | 22++++++++++++++++++++++
2 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -192,6 +192,7 @@ lib.makeScope newScope ( mapsoft2 = callPackage ./geospatial/mapsoft/2.nix { }; mbtiles2osmand = callPackage ./geospatial/mbtiles2osmand { }; mbutiles = callPackage ./geospatial/mbutiles { }; + mobroute = callPackage ./geospatial/mobroute { }; morecantile = callPackage ./geospatial/morecantile { }; orbisgis-bin = callPackage ./geospatial/orbisgis/bin.nix { jre = pkgs.jre8; }; ossim = callPackage ./geospatial/ossim { }; diff --git a/pkgs/geospatial/mobroute/default.nix b/pkgs/geospatial/mobroute/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoModule, fetchFromSourcehut }: + +buildGoModule rec { + pname = "mobroute"; + version = "2023-01-27"; + + src = fetchFromSourcehut { + owner = "~mil"; + repo = "mobroute"; + rev = "dded2d14dd3209515644d7f7492eaf58f7b4a9f5"; + hash = "sha256-rjhVdt1JwFDTbOiqTnNTsBToFM3slyys6X2fEr9qYOQ="; + }; + + vendorHash = "sha256-YJp4vjwASCVdcnqjbREgNosmybLLdCw+q4gSpZHsNJA="; + + meta = with lib; { + description = "Minimal FOSS Public Transportation Router"; + inherit (src.meta) homepage; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + }; +}