2017-09-03 08:58:57 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, pure, octave }:
|
2015-05-26 08:58:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "octave";
|
2017-03-13 10:18:00 +01:00
|
|
|
version = "0.9";
|
2015-05-26 08:58:18 +02:00
|
|
|
name = "pure-${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
|
2017-03-13 10:18:00 +01:00
|
|
|
sha256 = "0l1mvmi3rpabzjcrk6p04rdn922mvdm9x67zby3dha5iiccc47q0";
|
2015-05-26 08:58:18 +02:00
|
|
|
};
|
|
|
|
|
2017-09-03 08:58:57 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-05-26 08:58:18 +02:00
|
|
|
propagatedBuildInputs = [ pure octave ];
|
2019-10-27 14:03:25 +01:00
|
|
|
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
|
2015-05-26 08:58:18 +02:00
|
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An Octave module for the Pure programming language";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://puredocs.bitbucket.org/pure-octave.html";
|
2015-05-26 08:58:18 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2017-03-29 10:55:26 +02:00
|
|
|
# This is set to none for now because it does not work with the
|
|
|
|
# current stable version of Octave.
|
|
|
|
platforms = stdenv.lib.platforms.none;
|
2015-05-26 08:58:18 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ asppsa ];
|
|
|
|
};
|
|
|
|
}
|