package eplot
This commit is contained in:
		
							parent
							
								
									edd44fb34e
								
							
						
					
					
						commit
						6fe8c8b9a6
					
				@ -18,6 +18,7 @@ in
 | 
				
			|||||||
  overlays = import ./overlays; # nixpkgs overlays
 | 
					  overlays = import ./overlays; # nixpkgs overlays
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  colors = pkgs.callPackage ./pkgs/colors { };
 | 
					  colors = pkgs.callPackage ./pkgs/colors { };
 | 
				
			||||||
 | 
					  eplot = pkgs.callPackage ./pkgs/eplot { };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  rank_photos = pkgs.callPackage ./pkgs/rank_photos { };
 | 
					  rank_photos = pkgs.callPackage ./pkgs/rank_photos { };
 | 
				
			||||||
  JAVMovieScraper = pkgs.callPackage ./pkgs/JAVMovieScraper { };
 | 
					  JAVMovieScraper = pkgs.callPackage ./pkgs/JAVMovieScraper { };
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										38
									
								
								pkgs/eplot/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								pkgs/eplot/default.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,38 @@
 | 
				
			|||||||
 | 
					{ stdenv, fetchFromGitHub, gnuplot, ruby }:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					stdenv.mkDerivation {
 | 
				
			||||||
 | 
					  name = "eplot-unstable-2018-09-03";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  src = fetchFromGitHub {
 | 
				
			||||||
 | 
					    owner = "chriswolfvision";
 | 
				
			||||||
 | 
					    repo = "eplot";
 | 
				
			||||||
 | 
					    rev = "77bbe535f08a4377a7d86f11a21a726b06470323";
 | 
				
			||||||
 | 
					    sha256 = "0y81dbvzmybv9zgvcfw9kzbn0d5sqs6y2hqzq2klsqchcna4b1dn";
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  buildInputs = [ ruby ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  installPhase = ''
 | 
				
			||||||
 | 
					    mkdir -p $out/bin
 | 
				
			||||||
 | 
					    cp eplot ec $out/bin/
 | 
				
			||||||
 | 
					    chmod +x $out/bin/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    sed -i -e "s|gnuplot -persist|${gnuplot}/bin/gnuplot -persist|" "$out/bin/eplot"
 | 
				
			||||||
 | 
					  '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  meta = with stdenv.lib; {
 | 
				
			||||||
 | 
					    description = "Create plots quickly with gnuplot";
 | 
				
			||||||
 | 
					    longDescription = ''
 | 
				
			||||||
 | 
					      eplot ("easy gnuplot") is a ruby script which allows to pipe data easily
 | 
				
			||||||
 | 
					      through gnuplot and create plots quickly, which can be saved in
 | 
				
			||||||
 | 
					      postscript, PDF, PNG or EMF files. Plotting of multiple files into a
 | 
				
			||||||
 | 
					      single diagram is supported.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      This package also includes the complementary 'ec' tool (say "extract
 | 
				
			||||||
 | 
					      column").
 | 
				
			||||||
 | 
					    '';
 | 
				
			||||||
 | 
					    homepage = http://liris.cnrs.fr/christian.wolf/software/eplot/;
 | 
				
			||||||
 | 
					    license = licenses.gpl2Plus;
 | 
				
			||||||
 | 
					    platforms = platforms.all;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user