diff options
author | Frank Doepper <woffs@woffs.de> | 2017-09-13 09:37:16 +0200 |
---|---|---|
committer | Frank Doepper <woffs@woffs.de> | 2017-09-13 16:38:15 +0200 |
commit | 9c4233f7b6e055eb6d18e8e7a49508dfa3ce9ee4 (patch) | |
tree | 9a7750d0a69d130e4b9ce9e2e3e141960d91841c /pkgs/applications/networking/instant-messengers/oysttyer | |
parent | 54f2db5d4e1f07356a2d6fe0b449b47e961418cc (diff) |
oysttyer: init at 2.9.1
A Perl Console Twitter Client
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/oysttyer')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/oysttyer/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/oysttyer/default.nix b/pkgs/applications/networking/instant-messengers/oysttyer/default.nix new file mode 100644 index 000000000000..c71db351e9d2 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/oysttyer/default.nix @@ -0,0 +1,42 @@ +{ stdenv, lib, perl, perlPackages, coreutils, +fetchFromGitHub, makeWrapper }: + +stdenv.mkDerivation rec { + name = "oysttyer-${version}"; + version = "2.9.1"; + + src = fetchFromGitHub { + owner = "oysttyer"; + repo = "oysttyer"; + rev = "${version}"; + sha256 = "05bfak4jr8ln4847rkj5qkazqnjym65k1phav3yicbyr3mxywhjw"; + }; + + 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 ]; + }; +} |