Skip to content

Commit

Permalink
octave-packages: simplify meta attribute set
Browse files Browse the repository at this point in the history
In the comment presented here:
#108562 (comment)

I was presented with a simpler way of formatting/building the meta
attribute set. This commit is a squash of performing these changes on
all packages that are currently defined.

octave/control: simplify meta attr set

octave/general: simplify meta attr set

octave/io: simplify meta attr set

octave/level-set: simplify meta attr set

octave/linear-algebra: simplify meta attr set

octave/ltfat: simplify meta attr set

octave/signal: simplify meta attr set

octave/symbolic: simplify meta attr set
  • Loading branch information
KarlJoad committed Jan 6, 2021
1 parent c5fbd61 commit 53b5cfd
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/octave-modules/control/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ buildOctaveLibrary rec {
lapack blas
];

meta = {
meta = with stdenv.lib; {
homepage = "https://octave.sourceforge.io/${pname}/index.html";
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.pkgs.maintainers; [ KarlJoad ];
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Computer-Aided Control System Design (CACSD) Tools for GNU Octave, based on the proven SLICOT Library";
};
}
6 changes: 3 additions & 3 deletions pkgs/development/octave-modules/general/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ buildOctaveLibrary rec {
nettle
];

meta = {
meta = with stdenv.lib; {
homepage = "https://octave.sourceforge.io/${pname}/index.html";
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.pkgs.maintainers; [ KarlJoad ];
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "General tools for Octave";
};
}
6 changes: 3 additions & 3 deletions pkgs/development/octave-modules/io/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ buildOctaveLibrary rec {
cp -r doc $out/
'';

meta = {
meta = with stdenv.lib; {
homepage = "https://octave.sourceforge.io/${pname}/index.html";
license = with stdenv.lib.licenses; [ gpl3Plus bsd2 ];
maintainers = with stdenv.pkgs.maintainers; [ KarlJoad ];
license = with licenses; [ gpl3Plus bsd2 ];
maintainers = with maintainers; [ KarlJoad ];
description = "Input/Output in external formats";
};
}
6 changes: 3 additions & 3 deletions pkgs/development/octave-modules/level-set/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ buildOctaveLibrary rec {
sha256 = "1rb318gs0avkn5j23xrjwhra4y2f13bahc5v4x5wrm978bcs5xlp";
};

meta = {
meta = with stdenv.lib; {
name = "Level Set";
homepage = "https://octave.sourceforge.io/${pname}/index.html";
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.pkgs.maintainers; [ KarlJoad ];
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Routines for calculating the time-evolution of the level-set equation and extracting geometric information from the level-set function";
broken = true;
# During a simple build, I received the following error while building the package
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/octave-modules/linear-algebra/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ buildOctaveLibrary rec {
sha256 = "1wwjpxp9vjc6lszh0z3kgy4hyzpib8rvvh6b74ijh9qk9r9nmvjk";
};

meta = {
meta = with stdenv.lib; {
homepage = "https://octave.sourceforge.io/${pname}/index.html";
licenses = with stdenv.lib.licenses; [ gpl3Plus lgpl3Plus bsd ];
maintainers = with stdenv.pkgs.maintainers; [ KarlJoad ];
licenses = with licenses; [ gpl3Plus lgpl3Plus bsd ];
maintainers = with maintainers; [ KarlJoad ];
description = "Additional linear algebra code, including matrix functions";
};
}
6 changes: 3 additions & 3 deletions pkgs/development/octave-modules/ltfat/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ buildOctaveLibrary rec {
jre
];

meta = {
meta = with stdenv.lib; {
name = "The Large Time-Frequency Analysis Toolbox";
homepage = "https://octave.sourceforge.io/${pname}/index.html";
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.pkgs.maintainers; [ KarlJoad ];
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Toolbox for working with time-frequency analysis, wavelets and signal processing";
longDescription = ''
The Large Time/Frequency Analysis Toolbox (LTFAT) is a Matlab/Octave
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/octave-modules/signal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ buildOctaveLibrary rec {
control
];

meta = {
meta = with stdenv.lib; {
homepage = "https://octave.sourceforge.io/${pname}/index.html";
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.pkgs.maintainers; [ KarlJoad ];
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Signal processing tools, including filtering, windowing and display functions";
};
}
6 changes: 3 additions & 3 deletions pkgs/development/octave-modules/symbolic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

buildInputs = [ pythonEnv ];

meta = {
meta = with stdenv.lib; {
homepage = "https://octave.sourceforge.io/${pname}/index.html";
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.pkgs.maintainers; [ KarlJoad ];
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Adds symbolic calculation features to GNU Octave";
};
}).overrideAttrs (oldAttrs: rec {
Expand Down

0 comments on commit 53b5cfd

Please sign in to comment.