From c45836b1bb3346c814cb4d9804bca48305a8a332 Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Wed, 6 Jan 2021 11:19:17 -0600 Subject: [PATCH] octave.pkgs.mapping: init at 1.4.1 --- .../octave-modules/mapping/default.nix | 28 +++++++++++++++++++ pkgs/top-level/octave-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/octave-modules/mapping/default.nix diff --git a/pkgs/development/octave-modules/mapping/default.nix b/pkgs/development/octave-modules/mapping/default.nix new file mode 100644 index 00000000000..26cea27a725 --- /dev/null +++ b/pkgs/development/octave-modules/mapping/default.nix @@ -0,0 +1,28 @@ +{ buildOctavePackage +, lib +, fetchurl +, io # >= 2.2.7 +, geometry # >= 4.0.0 +}: + +buildOctavePackage rec { + pname = "mapping"; + version = "1.4.1"; + + src = fetchurl { + url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; + sha256 = "0wj0q1rkrqs4qgpjh4vn9kcpdh94pzr6v4jc1vcrjwkp87yjv8c0"; + }; + + requiredOctavePackages = [ + io + geometry + ]; + + meta = with lib; { + homepage = "https://octave.sourceforge.io/mapping/index.html"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ KarlJoad ]; + description = "Simple mapping and GIS .shp .dxf and raster file functions"; + }; +} diff --git a/pkgs/top-level/octave-packages.nix b/pkgs/top-level/octave-packages.nix index a021f4f1a44..8c1bbb76ee3 100644 --- a/pkgs/top-level/octave-packages.nix +++ b/pkgs/top-level/octave-packages.nix @@ -134,6 +134,8 @@ makeScope newScope (self: inherit (pkgs) fftwFloat fftwLongDouble; }; + mapping = callPackage ../development/octave-modules/mapping { }; + signal = callPackage ../development/octave-modules/signal { }; symbolic = callPackage ../development/octave-modules/symbolic {