2016-03-02 17:34:14 +01:00
|
|
|
{ stdenv, fetchFromGitHub, fetchurl }:
|
2015-01-17 15:48:54 +01:00
|
|
|
|
2016-01-24 20:31:44 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-01-17 15:48:54 +01:00
|
|
|
name = "libcli-${version}";
|
2016-01-24 20:31:44 +01:00
|
|
|
version = "1.9.7";
|
2015-01-17 15:48:54 +01:00
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2016-03-02 17:34:14 +01:00
|
|
|
patches =
|
|
|
|
[ (fetchurl {
|
|
|
|
url = "https://github.com/dparrish/libcli/commit/ebc5a09db457ee1be9996711463cbbafe5ea72d5.patch";
|
|
|
|
sha256 = "0szjiw3gd7by1sv924shnngfxvc98xvaqvx228b575xq93xxjcwl";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2015-01-17 15:48:54 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-11-26 18:44:44 +01:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2015-01-17 15:48:54 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Emulate a Cisco-style telnet command-line interface";
|
|
|
|
homepage = http://sites.dparrish.com/libcli;
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.lgpl21Plus;
|
2015-11-17 21:29:29 +01:00
|
|
|
platforms = platforms.linux;
|
2015-01-17 15:48:54 +01:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
}
|