1{ stdenv, fetchFromGitHub }:
2
3let version = "1.9.7"; in
4stdenv.mkDerivation {
5 name = "libcli-${version}";
6
7 src = fetchFromGitHub {
8 sha256 = "08pmjhqkwldhmcwjhi2l27slf1fk6nxxfaihnk2637pqkycy8z0c";
9 rev = "v${version}";
10 repo = "libcli";
11 owner = "dparrish";
12 };
13
14 enableParallelBuilding = true;
15
16 makeFlags = "PREFIX=$(out)";
17
18 meta = with stdenv.lib; {
19 description = "Emulate a Cisco-style telnet command-line interface";
20 homepage = http://sites.dparrish.com/libcli;
21 license = licenses.lgpl21Plus;
22 platforms = with platforms; linux;
23 maintainers = with maintainers; [ nckx ];
24 };
25}