2015-04-07 15:35:38 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2015-01-17 14:48:54 +00:00
|
|
|
|
2015-04-07 15:35:38 +00:00
|
|
|
let version = "1.9.7"; in
|
2015-07-30 16:00:14 +00:00
|
|
|
stdenv.mkDerivation {
|
2015-01-17 14:48:54 +00:00
|
|
|
name = "libcli-${version}";
|
|
|
|
|
2015-04-07 15:35:38 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
sha256 = "08pmjhqkwldhmcwjhi2l27slf1fk6nxxfaihnk2637pqkycy8z0c";
|
|
|
|
rev = "v${version}";
|
|
|
|
repo = "libcli";
|
|
|
|
owner = "dparrish";
|
2015-01-17 14:48:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-11-26 17:44:44 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2015-01-17 14:48:54 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Emulate a Cisco-style telnet command-line interface";
|
|
|
|
homepage = http://sites.dparrish.com/libcli;
|
2015-05-28 17:20:29 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2015-11-17 20:29:29 +00:00
|
|
|
platforms = platforms.linux;
|
2015-01-17 14:48:54 +00:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
}
|