From bd6c0ce7ccf8f472f3c708902189184e753efbae Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Fri, 6 Dec 2019 01:12:10 -0800 Subject: gopher: 3.0.11 -> 3.0.17 --- .../networking/gopher/gopher/default.nix | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'pkgs/applications/networking/gopher') diff --git a/pkgs/applications/networking/gopher/gopher/default.nix b/pkgs/applications/networking/gopher/gopher/default.nix index 4fcdf55777a6..f90e35ca7e2e 100644 --- a/pkgs/applications/networking/gopher/gopher/default.nix +++ b/pkgs/applications/networking/gopher/gopher/default.nix @@ -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 ]; }; } -- cgit 1.4.1