2015-04-07 17:35:38 +02:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2015-01-17 15:48:54 +01:00
|
|
|
|
2015-04-07 17:35:38 +02:00
|
|
|
let version = "1.9.7"; in
|
2015-01-17 15:48:54 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libcli-${version}";
|
|
|
|
|
2015-04-07 17:35:38 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
sha256 = "08pmjhqkwldhmcwjhi2l27slf1fk6nxxfaihnk2637pqkycy8z0c";
|
|
|
|
rev = "v${version}";
|
|
|
|
repo = "libcli";
|
|
|
|
owner = "dparrish";
|
2015-01-17 15:48:54 +01: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;
|
|
|
|
license = with licenses; lgpl21Plus;
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
}
|