Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 pkg-config, 6 autoreconfHook, 7 zlib, 8}: 9 10stdenv.mkDerivation { 11 pname = "libtelnet"; 12 version = "0.21+45f2d5c"; 13 14 src = fetchFromGitHub { 15 owner = "seanmiddleditch"; 16 repo = "libtelnet"; 17 rev = "45f2d5cfcf383312280e61c85b107285fed260cf"; 18 sha256 = "1lp6gdbndsp2w8mhy88c2jknxj2klvnggvq04ln7qjg8407ifpda"; 19 }; 20 21 nativeBuildInputs = [ 22 pkg-config 23 autoreconfHook 24 ]; 25 buildInputs = [ zlib ]; 26 27 meta = { 28 description = "Simple RFC-complient TELNET implementation as a C library"; 29 homepage = "https://github.com/seanmiddleditch/libtelnet"; 30 license = lib.licenses.publicDomain; 31 maintainers = [ lib.maintainers.tomberek ]; 32 platforms = lib.platforms.linux; 33 }; 34}