gopher: 3.0.11 -> 3.0.17

This commit is contained in:
Jonathan Ringer 2019-12-06 01:12:10 -08:00 committed by Jon
parent 5368791937
commit bd6c0ce7cc

View file

@ -1,23 +1,25 @@
{stdenv, fetchurl, ncurses}:
{ stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
pname = "gopher";
version = "3.0.11";
version = "3.0.17";
src = fetchurl {
url = "http://gopher.quux.org:70/devel/gopher/Downloads/gopher_${version}.tar.gz";
sha256 = "15r7x518wlpfqpd6z0hbdwm8rw8ll8hbpskdqgxxhrmy00aa7w9c";
src = fetchFromGitHub {
owner = "jgoerzen";
repo = pname;
rev = "release/${version}";
sha256 = "1j6xh5l8v231d4mwl9gj1c34dc0jmazz6zg1qqfxmqr9y609jq3h";
};
buildInputs = [ ncurses ];
preConfigure = "export LIBS=-lncurses";
meta = {
meta = with stdenv.lib; {
homepage = http://gopher.quux.org:70/devel/gopher;
description = "A ncurses gopher client";
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
platforms = platforms.linux; # clang doesn't like local regex.h
license = licenses.gpl2;
maintainers = with maintainers; [ sternenseemann ];
};
}