Skip to content

Commit

Permalink
octave/linear-algebra: fix numerous small issues
Browse files Browse the repository at this point in the history
octave/linear-algebra: switch to pkgs.fetchurl

This prevents a download during the evaluation of a package (Time when
the .drv is generated), and delays it to the build time of the
package.

Also, this is the required default in nixpkgs.

octave/linear-algebra: fix meta.licenses -> meta.license
  • Loading branch information
KarlJoad committed Jan 7, 2021
1 parent 4da2872 commit 61d36df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/octave-modules/linear-algebra/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ buildOctaveLibrary rec {
pname = "linear-algebra";
version = "2.2.3";

src = builtins.fetchurl {
src = fetchurl {
url = "https://octave.sourceforge.io/download.php?package=${pname}-${version}.tar.gz";
sha256 = "1wwjpxp9vjc6lszh0z3kgy4hyzpib8rvvh6b74ijh9qk9r9nmvjk";
};

meta = with stdenv.lib; {
homepage = "https://octave.sourceforge.io/${pname}/index.html";
licenses = with licenses; [ gpl3Plus lgpl3Plus bsd ];
license = with licenses; [ gpl3Plus lgpl3Plus ];
# They claim to have a FreeBSD license, but none of their code seems to have it.
maintainers = with maintainers; [ KarlJoad ];
description = "Additional linear algebra code, including matrix functions";
};
Expand Down

0 comments on commit 61d36df

Please sign in to comment.