summary refs log tree commit diff
path: root/pkgs/development/octave-modules/io/default.nix
blob: 57058c5f95de5fd5b85065aa0d81f146c047c086 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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";
  };
}