From e47a7424c9b7e3ae9767a485f34e0f9bf3cc7bb7 Mon Sep 17 00:00:00 2001 From: tomberek Date: Tue, 30 Aug 2016 08:41:17 -0400 Subject: [PATCH] libtelnet: init at 20160426 (#17936) --- .../libraries/libtelnet/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/libraries/libtelnet/default.nix diff --git a/pkgs/development/libraries/libtelnet/default.nix b/pkgs/development/libraries/libtelnet/default.nix new file mode 100644 index 000000000000..5f284d1a49a4 --- /dev/null +++ b/pkgs/development/libraries/libtelnet/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, zlib }: + +stdenv.mkDerivation rec { + name = "libtelnet-${version}"; + version = "0.21+45f2d5c"; + + src = fetchFromGitHub { + owner = "seanmiddleditch"; + repo = "libtelnet"; + rev = "45f2d5cfcf383312280e61c85b107285fed260cf"; + sha256 = "1lp6gdbndsp2w8mhy88c2jknxj2klvnggvq04ln7qjg8407ifpda"; + }; + + nativeBuildInputs = [ pkgconfig autoreconfHook ]; + buildInputs = [ zlib ]; + + meta = { + description = "Simple RFC-complient TELNET implementation as a C library"; + homepage = "https://github.com/seanmiddleditch/libtelnet"; + license = stdenv.lib.licenses.publicDomain; + maintainers = [ stdenv.lib.maintainers.tomberek ]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d65269c5689..0102a4d97ec8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2412,6 +2412,8 @@ in libtermkey = callPackage ../development/libraries/libtermkey { }; + libtelnet = callPackage ../development/libraries/libtelnet { }; + libtirpc = callPackage ../development/libraries/ti-rpc { }; libshout = callPackage ../development/libraries/libshout { };