mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
gnuplot: updated to version 4.4.0
svn path=/nixpkgs/trunk/; revision=21648
This commit is contained in:
parent
79a6a66322
commit
f96b77a4ce
@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchurl, zlib, gd, texinfo
|
||||
, texLive ? null
|
||||
, lua ? null
|
||||
, emacs ? null
|
||||
, libX11 ? null
|
||||
, libXt ? null
|
||||
@ -19,15 +21,15 @@ assert x11Support -> ((libX11 != null) &&
|
||||
assert (wxGTK != null) -> x11Support;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnuplot-4.2.6";
|
||||
name = "gnuplot-4.4.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gnuplot/gnuplot-4.2.6.tar.gz";
|
||||
sha256 = "10lfmbib3wrzfhvjqk7ffc29fb2aw6m84p4cx6znmgbpc3mw5yw1";
|
||||
url = "mirror://sourceforge/gnuplot/gnuplot-4.4.0.tar.gz";
|
||||
sha256 = "0akb2lzxa3b0j4nr6anr0mhsk10b1fcnixk8vk9aa82rl1a2rph0";
|
||||
};
|
||||
|
||||
configureFlags = if x11Support then ["--with-x"] else ["--without-x"];
|
||||
|
||||
buildInputs = [zlib gd texinfo readline emacs] ++
|
||||
buildInputs = [zlib gd texinfo readline emacs lua texLive] ++
|
||||
(if x11Support then [libX11 libXt libXpm libXaw] else []) ++
|
||||
(if wxGTK != null then [wxGTK pango cairo pkgconfig] else []);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user