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