Merge pull request #6850 from ardumont/update-putty-derivation
Update putty derivation
This commit is contained in:
commit
dd3d39dd9d
1 changed files with 21 additions and 17 deletions
|
@ -1,12 +1,13 @@
|
||||||
{ stdenv, fetchsvn, ncurses, gtk, pkgconfig, autoconf, automake, perl, halibut
|
{ stdenv, fetchurl, ncurses, gtk, pkgconfig, autoconf, automake, perl, halibut, libtool }:
|
||||||
, libtool }:
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
let
|
version = "0.64";
|
||||||
rev = 9690;
|
name = "putty-${version}";
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
src = fetchurl {
|
||||||
name = "putty-${toString rev}";
|
url = "http://the.earth.li/~sgtatham/putty/latest/${name}.tar.gz";
|
||||||
# builder = ./builder.sh;
|
sha256 = "089qbzd7w51sc9grm2x3lcbj61jdqsnakb4j4gnf6i2131xcjiia";
|
||||||
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
perl mkfiles.pl
|
perl mkfiles.pl
|
||||||
|
@ -17,14 +18,17 @@ stdenv.mkDerivation {
|
||||||
./mkauto.sh
|
./mkauto.sh
|
||||||
cd unix
|
cd unix
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# The hash is going to change on new snapshot.
|
|
||||||
# I don't know of any better URL
|
|
||||||
src = fetchsvn {
|
|
||||||
url = svn://svn.tartarus.org/sgt/putty;
|
|
||||||
rev = rev;
|
|
||||||
sha256 = "e1fb49766e0724a12776ec3d6cd0bd420e03ebdc3383a01a12dbfd30983f81ef";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ gtk ncurses pkgconfig autoconf automake perl halibut libtool ];
|
buildInputs = [ gtk ncurses pkgconfig autoconf automake perl halibut libtool ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A Free Telnet/SSH Client";
|
||||||
|
longDescription = ''
|
||||||
|
PuTTY is a free implementation of Telnet and SSH for Windows and Unix
|
||||||
|
platforms, along with an xterm terminal emulator.
|
||||||
|
It is written and maintained primarily by Simon Tatham.
|
||||||
|
'';
|
||||||
|
homepage = http://www.chiark.greenend.org.uk/~sgtatham/putty/;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue