Skip to content

Commit

Permalink
Add tuiview
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir committed Jan 19, 2025
1 parent 0adf4c0 commit b7cf18e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ lib.makeScope newScope (
tilekiln = callPackage ./geospatial/tilekiln { };
tilesets-cli = callPackage ./geospatial/tilesets-cli { };
tpkutils = callPackage ./geospatial/tpkutils { };
tuiview = callPackage ./geospatial/tuiview { };
vt2geojson = callPackage ./geospatial/vt2geojson { };
titiler = callPackage ./geospatial/titiler { };
tilecloud = callPackage ./geospatial/tilecloud { };
Expand Down
40 changes: 40 additions & 0 deletions pkgs/geospatial/tuiview/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
lib,
stdenv,
fetchFromGitHub,
python3Packages,
gdal,
}:

python3Packages.buildPythonApplication rec {
pname = "tuiview";
version = "1.3.0";
pyproject = true;

src = fetchFromGitHub {
owner = "ubarsc";
repo = "tuiview";
tag = "tuiview-${version}";
hash = "sha256-DVVJcimEY3m7VkA5XYsJXwE113xhFy4uy7JeIFywfIA=";
};

build-system = with python3Packages; [
gdal
numpy
setuptools
];

dependencies = with python3Packages; [
gdal
numpy
pyside6
];

meta = {
description = "Simple Raster Viewer";
homepage = "https://tuiview.org";
license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.sikmir ];
mainProgram = "tuiview";
};
}

0 comments on commit b7cf18e

Please sign in to comment.