2017-09-13 08:37:16 +01:00
|
|
|
{ stdenv, lib, perl, perlPackages, coreutils,
|
|
|
|
fetchFromGitHub, makeWrapper }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "oysttyer";
|
2019-04-02 07:07:03 +01:00
|
|
|
version = "2.10.0";
|
2017-09-13 08:37:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "oysttyer";
|
|
|
|
repo = "oysttyer";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2019-04-02 07:07:03 +01:00
|
|
|
sha256 = "0cm1hvi68iqgjsg15xdii271pklgzjn9j9afb1c460z71kgy3wz2";
|
2017-09-13 08:37:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
perl
|
|
|
|
makeWrapper
|
|
|
|
];
|
|
|
|
|
|
|
|
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 02:11:51 +01:00
|
|
|
homepage = "http://oysttyer.github.io/";
|
2017-09-13 08:37:16 +01:00
|
|
|
maintainers = with maintainers; [ woffs ];
|
|
|
|
license = with licenses; [ ffsl ];
|
|
|
|
};
|
|
|
|
}
|