2021-01-23 17:15:07 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, 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
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
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";
|
2021-01-23 17:15:07 +00:00
|
|
|
license = 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.
|
2021-01-23 17:15:07 +00:00
|
|
|
platforms = lib.platforms.none;
|
|
|
|
maintainers = with lib.maintainers; [ asppsa ];
|
2015-05-26 07:58:18 +01:00
|
|
|
};
|
|
|
|
}
|