2015-05-26 08:58:18 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, pure, octave }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "octave";
|
2015-09-11 10:37:45 +02:00
|
|
|
version = "0.7";
|
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";
|
2015-09-11 10:37:45 +02:00
|
|
|
sha256 = "04c1q5cjcyc5sg15ny1hn43rkphja3virw4k110cahc3piwbpsqk";
|
2015-05-26 08:58:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig ];
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|