summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrank Doepper <woffs@woffs.de>2017-09-13 09:37:16 +0200
committerFrank Doepper <woffs@woffs.de>2017-09-13 16:38:15 +0200
commit9c4233f7b6e055eb6d18e8e7a49508dfa3ce9ee4 (patch)
tree9a7750d0a69d130e4b9ce9e2e3e141960d91841c
parent54f2db5d4e1f07356a2d6fe0b449b47e961418cc (diff)
downloadnixlib-9c4233f7b6e055eb6d18e8e7a49508dfa3ce9ee4.tar
nixlib-9c4233f7b6e055eb6d18e8e7a49508dfa3ce9ee4.tar.gz
nixlib-9c4233f7b6e055eb6d18e8e7a49508dfa3ce9ee4.tar.bz2
nixlib-9c4233f7b6e055eb6d18e8e7a49508dfa3ce9ee4.tar.lz
nixlib-9c4233f7b6e055eb6d18e8e7a49508dfa3ce9ee4.tar.xz
nixlib-9c4233f7b6e055eb6d18e8e7a49508dfa3ce9ee4.tar.zst
nixlib-9c4233f7b6e055eb6d18e8e7a49508dfa3ce9ee4.zip
oysttyer: init at 2.9.1
A Perl Console Twitter Client
-rw-r--r--lib/licenses.nix5
-rw-r--r--lib/maintainers.nix1
-rw-r--r--pkgs/applications/networking/instant-messengers/oysttyer/default.nix42
-rw-r--r--pkgs/top-level/all-packages.nix2
-rw-r--r--pkgs/top-level/perl-packages.nix15
5 files changed, 65 insertions, 0 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index e85aac8d440b..c177497e85e5 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -211,6 +211,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
     fullName = "GNU Free Documentation License v1.3";
   };
 
+  ffsl = {
+    fullName = "Floodgap Free Software License";
+    url = http://www.floodgap.com/software/ffsl/license.html;
+  };
+
   free = {
     fullName = "Unspecified free software license";
   };
diff --git a/lib/maintainers.nix b/lib/maintainers.nix
index f77a26697026..a78539ffb6d3 100644
--- a/lib/maintainers.nix
+++ b/lib/maintainers.nix
@@ -636,6 +636,7 @@
   wjlroe = "William Roe <willroe@gmail.com>";
   wkennington = "William A. Kennington III <william@wkennington.com>";
   wmertens = "Wout Mertens <Wout.Mertens@gmail.com>";
+  woffs = "Frank Doepper <github@woffs.de>";
   womfoo = "Kranium Gikos Mendoza <kranium@gikos.net>";
   wscott = "Wayne Scott <wsc9tt@gmail.com>";
   wyvie = "Elijah Rum <elijahrum@gmail.com>";
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 ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 345d12e13f6b..2da9f5187108 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4652,6 +4652,8 @@ with pkgs;
 
   turses = callPackage ../applications/networking/instant-messengers/turses { };
 
+  oysttyer = callPackage ../applications/networking/instant-messengers/oysttyer { };
+
   twitterBootstrap = callPackage ../development/web/twitter-bootstrap {};
   twitterBootstrap3 = callPackage ../development/web/twitter-bootstrap/v3.nix {};
 
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix
index 3d8f7622d030..41920f7ccb5a 100644
--- a/pkgs/top-level/perl-packages.nix
+++ b/pkgs/top-level/perl-packages.nix
@@ -13059,6 +13059,21 @@ let self = _self // overrides; _self = with self; {
     };
   };
 
+  TermReadLineTTYtter = buildPerlPackage rec {
+    name = "Term-ReadLine-TTYtter-1.4";
+    src = fetchurl {
+      url = "mirror://cpan/authors/id/C/CK/CKAISER/Term-ReadLine-TTYtter-1.4.tar.gz";
+      sha256 = "14xcqhg1vrwgv65nd2z8xzn0wgb18i17pzkkh8m15cp1rqrk2dxc";
+    };
+
+    outputs = [ "out" ];
+
+    meta = {
+      description = "a modified version of T::RL::Perl with several new nonstandard features specific to TTYtter";
+      license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
+    };
+  };
+
   TermShellUI = buildPerlPackage rec {
     name = "Term-ShellUI-0.92";
     src = fetchurl {