From 1f966060ed1fec17457390d0b423fb491db2f842 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Sun, 11 Dec 2022 11:24:20 +0100 Subject: [PATCH 1/2] offpunk: Move to sourcehut The project moved to sourcehut: https://ploum.net/2022-11-15-offpunk17-sourcehut.html --- .../applications/networking/browsers/offpunk/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/browsers/offpunk/default.nix b/pkgs/applications/networking/browsers/offpunk/default.nix index 82ba0cab8e24..6aba05f254e8 100644 --- a/pkgs/applications/networking/browsers/offpunk/default.nix +++ b/pkgs/applications/networking/browsers/offpunk/default.nix @@ -1,5 +1,5 @@ { - fetchFromGitea, + fetchFromSourcehut, less, lib, makeWrapper, @@ -33,9 +33,8 @@ stdenv.mkDerivation (finalAttrs: { pname = "offpunk"; version = "1.7.1"; - src = fetchFromGitea { - domain = "notabug.org"; - owner = "ploum"; + src = fetchFromSourcehut { + owner = "~lioploum"; repo = "offpunk"; rev = "v${finalAttrs.version}"; sha256 = "1y1xb1ccsprl0xkn4hlh09j8y5xpdn6r860xlrmk12wfk2xrfbfy"; @@ -60,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "An Offline-First browser for the smolnet "; - homepage = "https://notabug.org/ploum/offpunk"; + homepage = finalAttrs.src.meta.homepage; maintainers = with maintainers; [ DamienCassou ]; platforms = platforms.linux; license = licenses.bsd2; From 6edacf9b286655c98f064196edff3ff08b0e243f Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Sun, 11 Dec 2022 11:29:52 +0100 Subject: [PATCH 2/2] offpunk: 1.7.1->1.8 --- pkgs/applications/networking/browsers/offpunk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/browsers/offpunk/default.nix b/pkgs/applications/networking/browsers/offpunk/default.nix index 6aba05f254e8..bedf059f2714 100644 --- a/pkgs/applications/networking/browsers/offpunk/default.nix +++ b/pkgs/applications/networking/browsers/offpunk/default.nix @@ -31,13 +31,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "offpunk"; - version = "1.7.1"; + version = "1.8"; src = fetchFromSourcehut { owner = "~lioploum"; repo = "offpunk"; rev = "v${finalAttrs.version}"; - sha256 = "1y1xb1ccsprl0xkn4hlh09j8y5xpdn6r860xlrmk12wfk2xrfbfy"; + sha256 = "0xv7b3qkwyq55sz7c0v0pknrpikhzyqgr5y4y30cwa7jd8sn423f"; }; nativeBuildInputs = [ makeWrapper ];