mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
e62b38bee8
compilation issue with octave 4 was fixed in this release
26 lines
795 B
Nix
26 lines
795 B
Nix
{ stdenv, fetchurl, pkgconfig, pure, octave }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
baseName = "octave";
|
|
version = "0.7";
|
|
name = "pure-${baseName}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
|
|
sha256 = "04c1q5cjcyc5sg15ny1hn43rkphja3virw4k110cahc3piwbpsqk";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|