diff --git a/nix/sources.json b/nix/sources.json
index 62fb64596f944128dc8bd958c11d4d41627ad28e..ec9e48872bca89aef03f237a6331c32479be8814 100644
--- a/nix/sources.json
+++ b/nix/sources.json
@@ -23,20 +23,6 @@ "url": "https://download.geofabrik.de/russia/northwestern-fed-district-210306.osm.pbf",
"url_template": "https://download.geofabrik.de/russia/northwestern-fed-district-<version>.osm.pbf",
"version": "210306"
},
"branch": "master",
"builtin": false,
"date": "2021-02-27T11:06:41Z",
"description": "Geo elevation data parser for \"The Shuttle Radar Topography Mission\" data",
"homepage": "https://github.com/tkrajina/srtm.py",
"owner": "tkrajina",
"repo": "srtm.py",
"rev": "aac72b36d105198622e33047b09786543c9aa4fa",
"sha256": "1qik15m5gwi4fp0ap898vgnvxhfh55a945dxkzkr9c7q9qaay0gw",
"type": "tarball",
"url": "https://github.com/tkrajina/srtm.py/archive/aac72b36d105198622e33047b09786543c9aa4fa.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
"gpxlab": {
"branch": "master",
"builtin": false,
@@ -117,20 +103,6 @@ "type": "file",
"url": "https://maptourist.org/osm-garmin/archive/OSM-MapTourist-szfo-RU_2021-03-06.zip",
"url_template": "https://maptourist.org/osm-garmin/archive/OSM-MapTourist-<region>-RU_<version>.zip",
"version": "2021-03-06"
"branch": "master",
"builtin": false,
"date": "2020-08-24T14:49:04Z",
"description": "Spherical mercator tile and coordinate utilities",
"homepage": "https://github.com/mapbox/mercantile",
"owner": "mapbox",
"repo": "mercantile",
"rev": "d00e29330663d2ca8dc1f4056f92194286250b38",
"sha256": "0kdhvph2k7qjjqxp84qvdhkm5pii711kkfghpkqwjml1ms0ld96s",
"type": "tarball",
"url": "https://github.com/mapbox/mercantile/archive/d00e29330663d2ca8dc1f4056f92194286250b38.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"odict": {
"branch": "master",
diff --git a/pkgs/data/dicts/freedict/base.nix b/pkgs/data/dicts/freedict/base.nix
index d87b21f2168f568d7be9479f00afc84ecafd9079..e2de513af51ec84dbff711262efd6c2d56cf76af 100644
--- a/pkgs/data/dicts/freedict/base.nix
+++ b/pkgs/data/dicts/freedict/base.nix
@@ -1,4 +1,4 @@
-{ lib, stdenvNoCC, fetchurl, lang, version, sha256 }:
+{ lib, stdenvNoCC, fetchurl, lang, version, hash }:
stdenvNoCC.mkDerivation {
pname = "freedict-${lang}";
@@ -6,7 +6,7 @@ inherit version;
src = fetchurl {
url = "https://download.freedict.org/dictionaries/${lang}/${version}/freedict-${lang}-${version}.dictd.tar.xz";
};
installPhase = ''
diff --git a/pkgs/data/dicts/freedict/default.nix b/pkgs/data/dicts/freedict/default.nix
index f81d1bc92dc660853fddc5c70a4df64ec33a7f89..280fda81c6719b37b901064ab7a01dbc4226a36e 100644
--- a/pkgs/data/dicts/freedict/default.nix
+++ b/pkgs/data/dicts/freedict/default.nix
@@ -4,16 +4,16 @@ {
deu-eng = callPackage ./base.nix {
lang = "deu-eng";
version = "0.3.5";
};
epo-eng = callPackage ./base.nix {
lang = "epo-eng";
version = "1.0.1";
};
fin-eng = callPackage ./base.nix {
lang = "fin-eng";
version = "2020.10.04";
};
}
diff --git a/pkgs/data/dicts/komputeko/default.nix b/pkgs/data/dicts/komputeko/default.nix
index abd0548761cb2f55921468601c580b89c14e04d3..c38c895702a2159212ec8a6d19647102459263ff 100644
--- a/pkgs/data/dicts/komputeko/default.nix
+++ b/pkgs/data/dicts/komputeko/default.nix
@@ -2,12 +2,12 @@ { lib, stdenvNoCC, fetchwebarchive, dict, jq, stardict-tools }:
stdenvNoCC.mkDerivation {
pname = "komputeko";
src = fetchwebarchive {
url = "https://komputeko.net/data.json";
};
dontUnpack = true;
diff --git a/pkgs/data/dicts/wiktionary/base.nix b/pkgs/data/dicts/wiktionary/base.nix
index 8a2720a539950ee7424c8e5102d7ddbf2294a28d..3d21e604c8707b802022e2cb4a805a4433277992 100644
--- a/pkgs/data/dicts/wiktionary/base.nix
+++ b/pkgs/data/dicts/wiktionary/base.nix
@@ -1,4 +1,4 @@
-{ lib, stdenvNoCC, fetchurl, lang, version, sha256 }:
+{ lib, stdenvNoCC, fetchurl, lang, version, hash }:
stdenvNoCC.mkDerivation {
pname = "wiktionary-${lang}";
@@ -6,7 +6,7 @@ inherit version;
src = fetchurl {
url = "http://libredict.org/dictionaries/${lang}/wiktionary_${lang}_stardict_${version}.tgz";
};
installPhase = "install -Dm644 *.{dict,idx,ifo} -t $out";
diff --git a/pkgs/data/dicts/wiktionary/default.nix b/pkgs/data/dicts/wiktionary/default.nix
index ac6f23afbbcdd1f6e587388835d5277b99ff76c0..9d337339e7f9599f4473a87f74f428886f99af7f 100644
--- a/pkgs/data/dicts/wiktionary/default.nix
+++ b/pkgs/data/dicts/wiktionary/default.nix
@@ -1,57 +1,63 @@
{ callPackage }:
{
en-ru = callPackage ./base.nix {
lang = "en-ru";
};
fi-ru = callPackage ./base.nix {
lang = "fi-ru";
};
};
ru-de = callPackage ./base.nix {
lang = "ru-de";
};
};
ru-eo = callPackage ./base.nix {
lang = "ru-eo";
};
ru-fi = callPackage ./base.nix {
lang = "ru-fi";
};
ru-sv = callPackage ./base.nix {
lang = "ru-sv";
};
}
diff --git a/pkgs/development/python-modules/gpxelevations/default.nix b/pkgs/development/python-modules/gpxelevations/default.nix
index fb2a693e0157c4c3693d8d935cd2ce4a0c0b7641..62640de4e21e678305f38c87446fa5b3ec7f4fa5 100644
--- a/pkgs/development/python-modules/gpxelevations/default.nix
+++ b/pkgs/development/python-modules/gpxelevations/default.nix
@@ -1,28 +1,34 @@
-{ lib, python3Packages, fetchurl, sources }:
+{ lib, python3Packages, fetchFromGitHub, fetchurl }:
let
testdata = import ./testdata.nix { inherit fetchurl; };
in
-python3Packages.buildPythonApplication {
+python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [ requests gpxpy ];
dontUseSetuptoolsCheck = true;
-# checkPhase = ''
-# mkdir -p tmp_home/.cache/srtm
-# ${lib.concatMapStringsSep "\n" (hgt: ''
-# cp ${hgt} tmp_home/.cache/srtm/${hgt.name}
-# '') testdata}
-#
-# HOME=tmp_home ${python3Packages.python.interpreter} -m unittest test
-# '';
cp ${hgt} tmp_home/.cache/srtm/${hgt.name}
meta = with lib; {
license = licenses.asl20;
maintainers = [ maintainers.sikmir ];
platforms = platforms.unix;
diff --git a/pkgs/development/python-modules/gpxelevations/testdata.nix b/pkgs/development/python-modules/gpxelevations/testdata.nix
index d6f18d5789af7e92efc327e1541794aba116d1f0..2319324ddaff3412866157b7853ea0e7f6eee7e6 100644
--- a/pkgs/development/python-modules/gpxelevations/testdata.nix
+++ b/pkgs/development/python-modules/gpxelevations/testdata.nix
@@ -1,61 +1,61 @@
{ fetchurl }:
let
};
in
[
(fetchSrtm {
file = "Eurasia/N47E013.hgt.zip";
})
(fetchSrtm {
file = "Eurasia/N46E013.hgt.zip";
})
(fetchSrtm {
file = "Eurasia/N47E012.hgt.zip";
})
(fetchSrtm {
file = "Africa/N00E015.hgt.zip";
})
(fetchSrtm {
file = "Africa/S01E015.hgt.zip";
})
(fetchSrtm {
file = "Eurasia/N51E000.hgt.zip";
})
(fetchSrtm {
file = "Eurasia/N51W001.hgt.zip";
})
(fetchSrtm {
file = "Eurasia/N42E071.hgt.zip";
})
(fetchSrtm {
file = "Eurasia/N43E087.hgt.zip";
})
(fetchSrtm {
file = "Africa/N31E035.hgt.zip";
})
(fetchSrtm {
file = "Eurasia/N55E055.hgt.zip";
})
(fetchSrtm {
file = "Eurasia/N45E013.hgt.zip";
})
(fetchSrtm {
file = "Africa/N24E035.hgt.zip";
})
]
diff --git a/pkgs/development/python-modules/mercantile/default.nix b/pkgs/development/python-modules/mercantile/default.nix
index 8290647e7e16a64e12f6124a723d02c264a63e0a..08f6e0f54cfbea0ddf3275e7f2e6209d141ce16e 100644
--- a/pkgs/development/python-modules/mercantile/default.nix
+++ b/pkgs/development/python-modules/mercantile/default.nix
@@ -1,17 +1,23 @@
-{ lib, python3Packages, sources }:
+{ lib, fetchFromGitHub, python3Packages }:
-python3Packages.buildPythonPackage {
+python3Packages.buildPythonPackage rec {
propagatedBuildInputs = with python3Packages; [ click ];
checkInputs = with python3Packages; [ pytestCheckHook hypothesis ];
meta = with lib; {
license = licenses.bsd3;
maintainers = [ maintainers.sikmir ];
};
application/octet-stream
This content has been proxied by September (3851b).