diff --git a/nix/sources.json b/nix/sources.json
index 6210af5534eaf89ccd8b32cb7e492f157f8a2e79..80f8e86245db34340e7ae4be491be7bd1537d206 100644
--- a/nix/sources.json
+++ b/nix/sources.json
@@ -587,29 +587,29 @@ },
"map-hr": {
"branch": "master",
"builtin": false,
"date": "2019-07-14T23:28:27Z",
"date": "2020-12-28T23:38:07Z",
"description": "Slazav mountains",
"homepage": "http://slazav.mccme.ru/maps/",
"owner": "slazav",
"repo": "map_hr",
"rev": "1555f0e49e8b26b5991c6b8ce8ea1f0688b26047",
"sha256": "1ymyyx4z35vicrr5hz12fcjgdy60vfbjfv2m4m154vw4ay7216wa",
"rev": "8137e566160a8d2076a68ec758d3fc80e28b9c6d",
"sha256": "15p4wwkndabqpxl4wrfnyza5kbifdfizkigf06dm9d5miqqbnc1k",
"type": "tarball",
"url": "https://github.com/slazav/map_hr/archive/1555f0e49e8b26b5991c6b8ce8ea1f0688b26047.tar.gz",
"url": "https://github.com/slazav/map_hr/archive/8137e566160a8d2076a68ec758d3fc80e28b9c6d.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"map-podm": {
"branch": "master",
"builtin": false,
"date": "2020-08-06T11:51:50Z",
"date": "2020-12-28T23:38:24Z",
"description": "Карты Подмосковья в виде номенклатурных листов 1:100000 - исходники в формате mapsoft vmap",
"homepage": "http://slazav.mccme.ru/maps/",
"owner": "slazav",
"repo": "map_podm",
"rev": "8b7994ba4a4bdc9673e982cf1f528cca1653d060",
"sha256": "1z7gfsj485aycmk4nzxh8mv3pl18n28i94f5bkmjpr1l4fwg2zjh",
"rev": "3081d5f95d5870213b9fa877fabeadd58d01e4b8",
"sha256": "0ad2cmx2g5fl8mwqi4wxc1cy1zzzb2riapif11sfxc7gjmj26a6s",
"type": "tarball",
"url": "https://github.com/slazav/map_podm/archive/8b7994ba4a4bdc9673e982cf1f528cca1653d060.tar.gz",
"url": "https://github.com/slazav/map_podm/archive/3081d5f95d5870213b9fa877fabeadd58d01e4b8.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"map-tiler": {
diff --git a/pkgs/data/maps/slazav/0001-fix-hr.patch b/pkgs/data/maps/slazav/0001-fix-hr.patch
deleted file mode 100644
index a0c1b0a0eebec290070a05e5621754e97c0b9215..0000000000000000000000000000000000000000
--- a/pkgs/data/maps/slazav/0001-fix-hr.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-diff --git i/Makefile w/Makefile
-index d15480e..5c2a0d1 100644
---- i/Makefile
-+++ w/Makefile
-@@ -9,9 +9,9 @@ sync:
-- mv -f ${IMG_NAME} /home/sla/CH/data/maps/
-- sed -e "/${IMG_NAME}/s/[0-9]{4}-[0-9]{2}-[0-9]{2}/$(date +%F)/"\
-- -i /home/sla/CH/data/maps/index.m4i
-+ #mv -f ${IMG_NAME} /home/sla/CH/data/maps/
-+ #sed -e "/${IMG_NAME}/s/[0-9]{4}-[0-9]{2}-[0-9]{2}/$(date +%F)/"\
-+ # -i /home/sla/CH/data/maps/index.m4i
-diff --git i/bin/make_in.sh w/bin/make_in.sh
-index 84ab728..47c25ec 100755
---- i/bin/make_in.sh
-+++ w/bin/make_in.sh
-@@ -59,7 +59,7 @@ for i in $IN_DIR/.fig $IN_DIR/.mp; do
$sources -o "$vmap"
-- ~/mapsoft/vector/vmap3/vmap_fix_diff "$old" "$vmap" "$vmap"
-+ vmap_fix_diff "$old" "$vmap" "$vmap"
-diff --git i/bin/make_out.sh w/bin/make_out.sh
-index 3d8eb2a..7e26b23 100755
---- i/bin/make_out.sh
-+++ w/bin/make_out.sh
-@@ -33,6 +33,7 @@ for i in $VMAP_DIR/*.vmap; do
echo "Updating png: $name"
-+ mkdir -p -- "$LAST_PNG_DIR"
[ -s "$png" ] &&
convert "$png" -scale 50% "$LAST_PNG_DIR/${name}_o.png" ||:
-diff --git i/settings.sh w/settings.sh
-index 369dcef..13a7669 100644
---- i/settings.sh
-+++ w/settings.sh
-@@ -5,11 +5,11 @@ export PATH=./:bin/:$PATH
--export VMAP_DIR=/home/sla/map_hr/vmap
-+export VMAP_DIR=vmap
--export IN_DIR=/home/sla/map_hr/IN
--export OUT_DIR=/home/sla/map_hr/OUT
-+export IN_DIR=IN
-+export OUT_DIR=OUT
-\ No newline at end of file
diff --git a/pkgs/data/maps/slazav/0001-fix-podm.patch b/pkgs/data/maps/slazav/0001-fix-podm.patch
deleted file mode 100644
index 517f2ea78a2914be731fde6b7f18ccf761fe3cc5..0000000000000000000000000000000000000000
--- a/pkgs/data/maps/slazav/0001-fix-podm.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git i/Makefile w/Makefile
-index 71dc2f7..5b91335 100644
---- i/Makefile
-+++ w/Makefile
-@@ -6,9 +6,9 @@ sync:
-- mv -f podm.img /home/sla/CH/data/maps/
-- sed -e "/podm.img/s/[0-9]{4}-[0-9]{2}-[0-9]{2}/$(date +%F)/"\
-- -i /home/sla/CH/data/maps/index.m4i
-+ #mv -f podm.img /home/sla/CH/data/maps/
-+ #sed -e "/podm.img/s/[0-9]{4}-[0-9]{2}-[0-9]{2}/$(date +%F)/"\
-+ # -i /home/sla/CH/data/maps/index.m4i
-diff --git i/bin/make_in.sh w/bin/make_in.sh
-index 731dcc6..ce3f59f 100755
---- i/bin/make_in.sh
-+++ w/bin/make_in.sh
-@@ -54,7 +54,7 @@ for i in $IN_DIR/.fig $IN_DIR/.mp; do
$sources -o "$vmap"
-- ~/mapsoft/vector/vmap3/vmap_fix_diff "$old" "$vmap" "$vmap"
-+ vmap_fix_diff "$old" "$vmap" "$vmap"
diff --git a/pkgs/data/maps/slazav/hr.nix b/pkgs/data/maps/slazav/hr.nix
index 142920d9da1a7aecc05c83247c6267aa999e1443..9f3be3a0edb26ec17d6d7b6706651b676df76ed3 100644
--- a/pkgs/data/maps/slazav/hr.nix
+++ b/pkgs/data/maps/slazav/hr.nix
@@ -1,4 +1,4 @@
-{ stdenv, cgpsmapper, gmaptool, imagemagick, mapsoft, netpbm, zip, sources }:
+{ stdenv, bc, cgpsmapper, gmaptool, mapsoft2, sources }:
stdenv.mkDerivation {
pname = "slazav-hr-unstable";
@@ -6,35 +6,11 @@ version = stdenv.lib.substring 0 10 sources.map-hr.date;
src = sources.map-hr;
--replace "/usr/share/mapsoft" "${mapsoft}/share/mapsoft"
--replace "/usr/share/mapsoft" "${mapsoft}/share/mapsoft"
meta = with stdenv.lib; {
inherit (sources.map-hr) description homepage;
diff --git a/pkgs/data/maps/slazav/podm-bin.nix b/pkgs/data/maps/slazav/podm-bin.nix
index bd29ea0665f8d9df81cce671000eb277dfc0d237..d1c849eb4bea498e043c63b75fc9238f56d730b6 100644
--- a/pkgs/data/maps/slazav/podm-bin.nix
+++ b/pkgs/data/maps/slazav/podm-bin.nix
@@ -1,16 +1,16 @@
{ stdenv, fetchurl }:
fetchurl {
downloadToTemp = true;
recursiveHash = true;
meta = with stdenv.lib; {
description = "Карты Подмосковья";
license = licenses.free;
maintainers = [ maintainers.sikmir ];
diff --git a/pkgs/data/maps/slazav/podm.nix b/pkgs/data/maps/slazav/podm.nix
index 57bb98c6fd21f235c4ff216e5eaa1a07c0b3cb37..f34beed4cd8a786816ccc6d6cd7ec69b3abddde5 100644
--- a/pkgs/data/maps/slazav/podm.nix
+++ b/pkgs/data/maps/slazav/podm.nix
@@ -1,4 +1,4 @@
-{ stdenv, cgpsmapper, gmaptool, imagemagick, mapsoft, netpbm, zip, sources }:
+{ stdenv, bc, cgpsmapper, gmaptool, mapsoft2, sources }:
stdenv.mkDerivation {
pname = "slazav-podm-unstable";
@@ -6,31 +6,11 @@ version = stdenv.lib.substring 0 10 sources.map-podm.date;
src = sources.map-podm;
--replace "/usr/share/mapsoft" "${mapsoft}/share/mapsoft"
meta = with stdenv.lib; {
inherit (sources.map-podm) description homepage;
application/octet-stream
This content has been proxied by September (3851b).