mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
26 lines
783 B
Nix
26 lines
783 B
Nix
{ 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";
|
|
license = lib.licenses.lgpl3Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ asppsa ];
|
|
};
|
|
}
|