From bf044cc98840491aff630f0a11efac06e44e5d47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Wed, 10 Jan 2024 12:46:48 +0900 Subject: [PATCH] fead: 0.1.3 -> 1.0.0 --- pkgs/applications/misc/fead/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/misc/fead/default.nix b/pkgs/applications/misc/fead/default.nix index bfd645c43313..76ff13879e5e 100644 --- a/pkgs/applications/misc/fead/default.nix +++ b/pkgs/applications/misc/fead/default.nix @@ -1,14 +1,12 @@ -{ lib, stdenv, fetchFromSourcehut, python3, help2man }: +{ lib, stdenv, fetchzip, python3, help2man }: stdenv.mkDerivation rec { pname = "fead"; - version = "0.1.3"; + version = "1.0.0"; - src = fetchFromSourcehut { - owner = "~cnx"; - repo = pname; - rev = version; - sha256 = "sha256-cW0GxyvC9url2QAAWD0M2pR4gBiPA3eeAaw77TwMV/0="; + src = fetchzip { + url = "https://trong.loang.net/~cnx/fead/snapshot/fead-${version}.tar.gz"; + hash = "sha256-cbU379Zz+mwRqEHiDUlGvWheLkkr0YidHeVs/1Leg38="; }; nativeBuildInputs = [ help2man ]; @@ -29,9 +27,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Advert generator from web feeds"; - homepage = "https://git.sr.ht/~cnx/fead"; + homepage = "https://trong.loang.net/~cnx/fead"; license = licenses.agpl3Plus; - changelog = "https://git.sr.ht/~cnx/fead/refs/${version}"; + changelog = "https://trong.loang.net/~cnx/fead/tag?h=${version}"; maintainers = with maintainers; [ McSinyx ]; }; }