2017-03-13 09:18:00 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, pure, octave, gcc6 }:
|
2015-05-26 06:58:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "octave";
|
2017-03-13 09:18:00 +00:00
|
|
|
version = "0.9";
|
2015-05-26 06:58:18 +00: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 06:58:18 +00:00
|
|
|
};
|
|
|
|
|
2017-03-13 09:18:00 +00:00
|
|
|
buildInputs = [ pkgconfig gcc6 ];
|
2015-05-26 06:58:18 +00:00
|
|
|
propagatedBuildInputs = [ pure octave ];
|
|
|
|
makeFlags = "libdir=$(out)/lib prefix=$(out)/";
|
|
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An Octave module for the Pure programming language";
|
|
|
|
homepage = http://puredocs.bitbucket.org/pure-octave.html;
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ asppsa ];
|
|
|
|
};
|
|
|
|
}
|