nixpkgs/pkgs/applications/networking/instant-messengers/oysttyer/default.nix
R. RyanTM 98efe201f8 oysttyer: 2.9.1 -> 2.10.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/oysttyer/versions
2019-04-01 23:07:03 -07:00

42 lines
920 B
Nix

{ stdenv, lib, perl, perlPackages, coreutils,
fetchFromGitHub, makeWrapper }:
stdenv.mkDerivation rec {
name = "oysttyer-${version}";
version = "2.10.0";
src = fetchFromGitHub {
owner = "oysttyer";
repo = "oysttyer";
rev = "${version}";
sha256 = "0cm1hvi68iqgjsg15xdii271pklgzjn9j9afb1c460z71kgy3wz2";
};
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; {
inherit version;
description = "Perl Console Twitter Client";
homepage = http://oysttyer.github.io/;
maintainers = with maintainers; [ woffs ];
license = with licenses; [ ffsl ];
};
}