git.iko.soy/typeable/nixpkgs
on master help sign in
eplot: init at 2.07

Create plots quickly with gnuplot. http://liris.cnrs.fr/christian.wolf/software/eplot/

commit9ad01e41deee835ee5f9261efd3ed497862c995d authorBjørn Forsman <bjorn.forsman@gmail.com> dateSat 7 Mar 2015, 14:20 (12 years ago) parent01e37fe
2 files changed+49
pkgs/tools/graphics/eplot/default.nix+47 pkgs/top-level/all-packages.nix+2
pkgs/tools/graphics/eplot/default.nixnew file+47
@@ -0,0 +1,47 @@
1+{ stdenv, fetchurl, gnuplot, ruby }:
2+
3+stdenv.mkDerivation rec {
4+ name = "eplot-2.07";
5+
6+ # Upstream has been contacted (2015-03) regarding providing versioned
7+ # download URLs. Initial response was positive, but no action yet.
8+ src = fetchurl {
9+ url = "http://liris.cnrs.fr/christian.wolf/software/eplot/download/eplot";
10+ sha256 = "0y9x82i3sfpgxsqz2w42r6iad6ph7vxb7np1xbwapx5iipciclw5";
11+ };
12+
13+ ecSrc = fetchurl {
14+ url = "http://liris.cnrs.fr/christian.wolf/software/eplot/download/ec";
15+ sha256 = "0fg31g8mrcx14h2rjcf091cbd924n19z55iscaiflspifya30yhd";
16+ };
17+
18+ buildInputs = [ ruby ];
19+
20+ unpackPhase = "true";
21+
22+ installPhase = ''
23+ mkdir -p "$out/bin"
24+ cp "$src" "$out/bin/eplot"
25+ cp "$ecSrc" "$out/bin/ec"
26+ chmod +x "$out/bin/"*
27+
28+ sed -i -e "s|gnuplot -persist|${gnuplot}/bin/gnuplot -persist|" "$out/bin/eplot"
29+ '';
30+
31+ meta = with stdenv.lib; {
32+ description = "Create plots quickly with gnuplot";
33+ longDescription = ''
34+ eplot ("easy gnuplot") is a ruby script which allows to pipe data easily
35+ through gnuplot and create plots quickly, which can be saved in
36+ postscript, PDF, PNG or EMF files. Plotting of multiple files into a
37+ single diagram is supported.
38+
39+ This package also includes the complementary 'ec' tool (say "extract
40+ column").
41+ '';
42+ homepage = http://liris.cnrs.fr/christian.wolf/software/eplot/;
43+ license = licenses.gpl2Plus;
44+ platforms = platforms.all;
45+ maintainers = [ maintainers.bjornfor ];
46+ };
47+}
pkgs/top-level/all-packages.nix+2
@@ -1396,6 +1396,8 @@ let
13961396
13971397 enscript = callPackage ../tools/text/enscript { };
13981398
1399+ eplot = callPackage ../tools/graphics/eplot { };
1400+
13991401 ethtool = callPackage ../tools/misc/ethtool { };
14001402
14011403 eternity = callPackage ../games/eternity-engine { };