Files
nixpkgs/pkgs/development/libraries/libcli/default.nix
T

32 lines
810 B
Nix
Raw Normal View History

2016-03-02 17:34:14 +01:00
{ stdenv, fetchFromGitHub, fetchurl }:
stdenv.mkDerivation rec {
name = "libcli-${version}";
version = "1.9.7";
2015-04-07 17:35:38 +02:00
src = fetchFromGitHub {
sha256 = "08pmjhqkwldhmcwjhi2l27slf1fk6nxxfaihnk2637pqkycy8z0c";
rev = "v${version}";
repo = "libcli";
owner = "dparrish";
};
2016-03-02 17:34:14 +01:00
patches =
[ (fetchurl {
url = "https://github.com/dparrish/libcli/commit/ebc5a09db457ee1be9996711463cbbafe5ea72d5.patch";
sha256 = "0szjiw3gd7by1sv924shnngfxvc98xvaqvx228b575xq93xxjcwl";
})
];
enableParallelBuilding = true;
2015-11-26 18:44:44 +01:00
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Emulate a Cisco-style telnet command-line interface";
homepage = http://sites.dparrish.com/libcli;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
};
}