diff --git a/default.nix b/default.nix
index 5f671584c8788290a9e224837883178c0ae6ac2f..038bb5afc21f8bad53d1c1412b9e6d431250520c 100644
--- a/default.nix
+++ b/default.nix
@@ -34,6 +34,10 @@ };
docker-reg-tool = callPackage ./pkgs/docker-reg-tool {
inherit (sources) docker-reg-tool;
};
embox = callPackage ./pkgs/embox {
inherit (sources) embox;
};
diff --git a/nix/sources.json b/nix/sources.json
index 528d4059ea046b4c3f344b41653369ef89565912..357bb77fa03efcb6dd5dd9d3abbe7c3d650bc7e9 100644
--- a/nix/sources.json
+++ b/nix/sources.json
@@ -59,6 +59,18 @@ "type": "tarball",
"url": "https://github.com/byrnedo/docker-reg-tool/archive/c5e7ff63fa476cac1eed717d0aef238beb50c21c.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"branch": "master",
"description": "Python script to download global terrain digital elevation models, SRTM 30m DEM and SRTM 90m DEM.",
"homepage": "http://elevation.bopen.eu",
"owner": "bopen",
"repo": "elevation",
"rev": "d225fc388e2ab263f3b7657986349262a2ba1e4d",
"sha256": "08zywj3napl6sqdhm18q60riij4fr60slm3fql9917bxs4j3n17y",
"type": "tarball",
"url": "https://github.com/bopen/elevation/archive/d225fc388e2ab263f3b7657986349262a2ba1e4d.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
"embox": {
"branch": "master",
"description": "Modular and configurable OS for embedded applications",
diff --git a/pkgs/elevation/default.nix b/pkgs/elevation/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..da97eafb97c7143fa4df279ef6b9215a4931f105
--- /dev/null
+++ b/pkgs/elevation/default.nix
@@ -0,0 +1,37 @@
+{ lib, buildPythonApplication, fasteners, future, appdirs, click
+, gnumake, curl, unzip, gzip, gdal
+, pytest, pytest-mock, elevation }:
+buildPythonApplication rec {
elevation/util.py \
tests/test_*.py; do
substituteInPlace $f \
--replace "make " "${lib.getBin gnumake}/bin/make " \
--replace "curl " "${lib.getBin curl}/bin/curl " \
--replace "gunzip " "gunzip.t " \
--replace "unzip " "${lib.getBin unzip}/bin/unzip " \
--replace "gunzip.t " "${lib.getBin gzip}/bin/gunzip " \
--replace "gdal_translate " "${lib.getBin gdal}/bin/gdal_translate " \
--replace "gdalbuildvrt " "${lib.getBin gdal}/bin/gdalbuildvrt "
+}
application/octet-stream
This content has been proxied by September (3851b).