octave.pkgs.general: init at version 2.1.1

This commit is contained in:
Karl Hallsby 2020-12-17 20:16:01 -06:00 committed by Doron Behar
parent 6bb3161645
commit 76bcbfce46
2 changed files with 33 additions and 6 deletions

View file

@ -0,0 +1,31 @@
{ buildOctavePackage
, lib
, fetchurl
, pkg-config
, nettle
}:
buildOctavePackage rec {
pname = "general";
version = "2.1.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0jmvczssqz1aa665v9h8k9cchb7mg3n9af6b5kh9b2qcjl4r9l7v";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
nettle
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/general/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "General tools for Octave";
};
}

View file

@ -84,12 +84,8 @@ makeScope newScope (self:
linear-algebra = callPackage ../development/octave-modules/linear-algebra { };
ltfat = callPackage ../development/octave-modules/ltfat {
fftw = pkgs.fftw;
fftwSinglePrec = pkgs.fftwSinglePrec;
fftwFloat = pkgs.fftwFloat;
fftwLongDouble = pkgs.fftwLongDouble;
portaudio = pkgs.portaudio;
jre = pkgs.jre;
inherit (octave) fftw fftwSinglePrec portaudio jdk;
inherit (pkgs) fftwFloat fftwLongDouble;
};
signal = callPackage ../development/octave-modules/signal { };