Merge pull request #200494 from aaronjheng/feedgnuplot
feedgnuplot: 1.58 -> 1.61
This commit is contained in:
commit
62c5966291
1 changed files with 17 additions and 10 deletions
|
@ -1,6 +1,14 @@
|
|||
{ lib, fetchFromGitHub, makeWrapper
|
||||
, makeFontsConf, freefont_ttf, gnuplot, perl, perlPackages
|
||||
, stdenv, shortenPerlShebang
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, makeFontsConf
|
||||
, freefont_ttf
|
||||
, gnuplot
|
||||
, perl
|
||||
, perlPackages
|
||||
, stdenv
|
||||
, shortenPerlShebang
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -11,18 +19,18 @@ in
|
|||
|
||||
perlPackages.buildPerlPackage rec {
|
||||
pname = "feedgnuplot";
|
||||
version = "1.58";
|
||||
version = "1.61";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dkogan";
|
||||
repo = "feedgnuplot";
|
||||
rev = "v${version}";
|
||||
sha256 = "1qix4lwwyhqibz0a6q2rrb497rmk00v1fvmdyinj0dqmgjw155zr";
|
||||
sha256 = "sha256-r5rszxr65lSozkUNaqfBn4I4XjLtvQ6T/BG366JXLRM=";
|
||||
};
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ] ++ lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
nativeBuildInputs = [ makeWrapper installShellFiles ] ++ lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
|
||||
buildInputs = [ gnuplot perl ]
|
||||
++ (with perlPackages; [ ListMoreUtils IPCRun StringShellQuote ]);
|
||||
|
@ -43,10 +51,9 @@ perlPackages.buildPerlPackage rec {
|
|||
wrapProgram $out/bin/feedgnuplot \
|
||||
--prefix "PATH" ":" "$PATH" \
|
||||
--prefix "PERL5LIB" ":" "$PERL5LIB"
|
||||
install -D -m 444 -t $out/share/bash-completion/completions \
|
||||
completions/bash/feedgnuplot
|
||||
install -D -m 444 -t $out/share/zsh/site-functions \
|
||||
completions/zsh/_feedgnuplot
|
||||
|
||||
installShellCompletion --bash --name feedgnuplot.bash completions/bash/feedgnuplot
|
||||
installShellCompletion --zsh completions/zsh/_feedgnuplot
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue