octave.pkgs.io: init at 2.6.3
This commit is contained in:
parent
77fdefa2a8
commit
6bb3161645
32
pkgs/development/octave-modules/io/default.nix
Normal file
32
pkgs/development/octave-modules/io/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ buildOctavePackage
|
||||
, lib
|
||||
, fetchurl
|
||||
, enableJava
|
||||
, jdk
|
||||
, unzip
|
||||
}:
|
||||
|
||||
buildOctavePackage rec {
|
||||
pname = "io";
|
||||
version = "2.6.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
||||
sha256 = "044y8lfp93fx0592mv6x2ss0nvjkjgvlci3c3ahav76pk1j3rikb";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
(lib.optional enableJava jdk)
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
unzip
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://octave.sourceforge.io/io/index.html";
|
||||
license = with licenses; [ gpl3Plus bsd2 ];
|
||||
maintainers = with maintainers; [ KarlJoad ];
|
||||
description = "Input/Output in external formats";
|
||||
};
|
||||
}
|
@ -76,7 +76,7 @@ makeScope newScope (self:
|
||||
control = callPackage ../development/octave-modules/control { };
|
||||
|
||||
io = callPackage ../development/octave-modules/io {
|
||||
unzip = pkgs.unzip;
|
||||
inherit (octave) enableJava;
|
||||
};
|
||||
|
||||
level-set = callPackage ../development/octave-modules/level-set { };
|
||||
|
Loading…
Reference in New Issue
Block a user