Merge pull request #205617 from DamienCassou/offpunk-1.8

This commit is contained in:
Damien Cassou 2022-12-11 12:28:49 +01:00 committed by GitHub
commit eaa1ae6bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{
fetchFromGitea,
fetchFromSourcehut,
less,
lib,
makeWrapper,
@ -31,14 +31,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "offpunk";
version = "1.7.1";
version = "1.8";
src = fetchFromGitea {
domain = "notabug.org";
owner = "ploum";
src = fetchFromSourcehut {
owner = "~lioploum";
repo = "offpunk";
rev = "v${finalAttrs.version}";
sha256 = "1y1xb1ccsprl0xkn4hlh09j8y5xpdn6r860xlrmk12wfk2xrfbfy";
sha256 = "0xv7b3qkwyq55sz7c0v0pknrpikhzyqgr5y4y30cwa7jd8sn423f";
};
nativeBuildInputs = [ makeWrapper ];
@ -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;