nixpkgs/pkgs/development/pure-modules/octave/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

28 lines
918 B
Nix

{ stdenv, fetchurl, pkg-config, pure, octave }:
stdenv.mkDerivation rec {
baseName = "octave";
version = "0.9";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
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";
license = stdenv.lib.licenses.gpl3Plus;
# This is set to none for now because it does not work with the
# current stable version of Octave.
platforms = stdenv.lib.platforms.none;
maintainers = with stdenv.lib.maintainers; [ asppsa ];
};
}