3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/pure-modules/octave/default.nix

28 lines
902 B
Nix
Raw Normal View History

2021-01-23 17:15:07 +00:00
{ lib, stdenv, fetchurl, pkg-config, pure, octave }:
stdenv.mkDerivation rec {
baseName = "octave";
2017-03-13 09:18:00 +00:00
version = "0.9";
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";
};
nativeBuildInputs = [ pkg-config ];
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";
2021-01-23 17:15:07 +00:00
license = lib.licenses.gpl3Plus;
# 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 ];
};
}