From 961e6fbadb6c0ab87294ffcac3de7cf05f569987 Mon Sep 17 00:00:00 2001 From: Ryan Hendrickson Date: Thu, 30 Mar 2023 15:33:42 -0400 Subject: [PATCH] alpine: 2.25 -> 2.26 Also update URLs, add updateScript, add self as maintainer. --- .../networking/mailreaders/alpine/default.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/alpine/default.nix b/pkgs/applications/networking/mailreaders/alpine/default.nix index 7c168340b1ce..99304cfef08d 100644 --- a/pkgs/applications/networking/mailreaders/alpine/default.nix +++ b/pkgs/applications/networking/mailreaders/alpine/default.nix @@ -1,14 +1,15 @@ -{lib, stdenv, fetchurl, ncurses, tcl, openssl, pam, libkrb5 -, openldap, libxcrypt +{ lib, stdenv, fetchgit, ncurses, tcl, openssl, pam, libkrb5 +, openldap, libxcrypt, gitUpdater }: stdenv.mkDerivation rec { pname = "alpine"; - version = "2.25"; + version = "2.26"; - src = fetchurl { - url = "http://alpine.x10host.com/alpine/release/src/${pname}-${version}.tar.xz"; - sha256 = "0xppxhcbafq9qa1rns5zl0n238gai08xhvcf2as0nx7nh84ib2k5"; + src = fetchgit { + url = "https://repo.or.cz/alpine.git"; + rev = "v${version}"; + hash = "sha256-cJyUBatQBjD6RG+jesJ0JRhWghPRBACc/HQl+2aCTd0="; }; buildInputs = [ @@ -23,11 +24,13 @@ stdenv.mkDerivation rec { "--with-c-client-target=slx" ]; + passthru.updateScript = gitUpdater { rev-prefix = "v"; }; + meta = with lib; { description = "Console mail reader"; license = licenses.asl20; - maintainers = with maintainers; [ raskin ]; + maintainers = with maintainers; [ raskin rhendric ]; platforms = platforms.linux; - homepage = "http://alpine.x10host.com/"; + homepage = "https://alpineapp.email/"; }; }