blob: 5dc09ae1f3eecc0a1e2e85b448b7be14ee74f802 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ stdenv, lib, perl, perlPackages, coreutils,
fetchFromGitHub, makeWrapper }:
stdenv.mkDerivation rec {
pname = "oysttyer";
version = "2.10.0";
src = fetchFromGitHub {
owner = "oysttyer";
repo = "oysttyer";
rev = version;
sha256 = "0cm1hvi68iqgjsg15xdii271pklgzjn9j9afb1c460z71kgy3wz2";
};
nativeBuildInputs = [ makeWrapper ];
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";
homepage = "http://oysttyer.github.io/";
maintainers = with maintainers; [ woffs ];
license = with licenses; [ ffsl ];
};
}
|