2017-09-13 07:37:16 +00:00
|
|
|
{ stdenv, lib, perl, perlPackages, coreutils,
|
|
|
|
fetchFromGitHub, makeWrapper }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "oysttyer";
|
2019-04-02 06:07:03 +00:00
|
|
|
version = "2.10.0";
|
2017-09-13 07:37:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "oysttyer";
|
|
|
|
repo = "oysttyer";
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2019-04-02 06:07:03 +00:00
|
|
|
sha256 = "0cm1hvi68iqgjsg15xdii271pklgzjn9j9afb1c460z71kgy3wz2";
|
2017-09-13 07:37:16 +00:00
|
|
|
};
|
|
|
|
|
2022-08-15 03:40:21 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2017-09-13 07:37:16 +00:00
|
|
|
buildInputs = [
|
|
|
|
perl
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with perlPackages; [
|
|
|
|
DateTimeFormatDateParse
|
|
|
|
TermReadLineTTYtter
|
|
|
|
TermReadKey
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
${coreutils}/bin/install -Dm755 \
|
|
|
|
oysttyer.pl \
|
|
|
|
$out/bin/oysttyer
|
|
|
|
|
|
|
|
wrapProgram $out/bin/oysttyer \
|
|
|
|
--prefix PERL5LIB : $PERL5LIB
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Perl Console Twitter Client";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://oysttyer.github.io/";
|
2017-09-13 07:37:16 +00:00
|
|
|
maintainers = with maintainers; [ woffs ];
|
|
|
|
license = with licenses; [ ffsl ];
|
|
|
|
};
|
|
|
|
}
|