nixpkgs/pkgs/development/pure-modules/gplot/default.nix

26 lines
783 B
Nix
Raw Normal View History

2021-01-23 17:15:07 +00:00
{ lib, stdenv, fetchurl, pkg-config, pure, gnuplot }:
stdenv.mkDerivation rec {
baseName = "gplot";
version = "0.1";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
sha256 = "841ded98e4d1cdfaf78f95481e5995d0440bfda2d5df533d6741a6e7058a882c";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure gnuplot ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A pure binding to gnuplot";
homepage = "http://puredocs.bitbucket.org/pure-gplot.html";
2021-01-23 17:15:07 +00:00
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}