2017-09-03 07:58:57 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, pure, octave }:
|
2015-05-26 07:58:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "octave";
|
2017-03-13 09:18:00 +00:00
|
|
|
version = "0.9";
|
2015-05-26 07:58:18 +01:00
|
|
|
name = "pure-${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
|
2017-03-13 09:18:00 +00:00
|
|
|
sha256 = "0l1mvmi3rpabzjcrk6p04rdn922mvdm9x67zby3dha5iiccc47q0";
|
2015-05-26 07:58:18 +01:00
|
|
|
};
|
|
|
|
|
2017-09-03 07:58:57 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-05-26 07:58:18 +01:00
|
|
|
propagatedBuildInputs = [ pure octave ];
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
|
2015-05-26 07:58:18 +01:00
|
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An Octave module for the Pure programming language";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://puredocs.bitbucket.org/pure-octave.html";
|
2015-05-26 07:58:18 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2017-03-29 09:55:26 +01: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 07:58:18 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ asppsa ];
|
|
|
|
};
|
|
|
|
}
|