nur-packages

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

commit 190bf10e8096c525dae0acc68600610aedf81bed
parent 0991ad8e722f80ea028cffc3d62ba29fbf0a45b4
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sun, 19 Jul 2020 21:27:32 +0300

qmapshack-routinodb: fix version

Diffstat:
Mpkgs/data/maps/qmapshack-routinodb/default.nix | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/pkgs/data/maps/qmapshack-routinodb/default.nix b/pkgs/data/maps/qmapshack-routinodb/default.nix @@ -1,8 +1,12 @@ { stdenv, sources, routino }: - +let + year = stdenv.lib.substring 0 2 sources.geofabrik-russia-nwfd.version; + month = stdenv.lib.substring 2 2 sources.geofabrik-russia-nwfd.version; + day = stdenv.lib.substring 4 2 sources.geofabrik-russia-nwfd.version; +in stdenv.mkDerivation { pname = "qmapshack-routinodb"; - version = sources.geofabrik-russia-nwfd.version; + version = "20${year}-${month}-${day}"; srcs = [ sources.geofabrik-finland sources.geofabrik-estonia