2016-03-02 16:34:14 +00:00
|
|
|
{ stdenv, fetchFromGitHub, fetchurl }:
|
2015-01-17 14:48:54 +00:00
|
|
|
|
2016-01-24 19:31:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-01-17 14:48:54 +00:00
|
|
|
name = "libcli-${version}";
|
2016-01-24 19:31:44 +00:00
|
|
|
version = "1.9.7";
|
2015-01-17 14:48:54 +00:00
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2016-03-02 16:34:14 +00:00
|
|
|
patches =
|
|
|
|
[ (fetchurl {
|
|
|
|
url = "https://github.com/dparrish/libcli/commit/ebc5a09db457ee1be9996711463cbbafe5ea72d5.patch";
|
|
|
|
sha256 = "0szjiw3gd7by1sv924shnngfxvc98xvaqvx228b575xq93xxjcwl";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
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 18:20:29 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|