Merge pull request #267881 from Siroj42/update-offpunk

This commit is contained in:
Damien Cassou 2023-11-18 11:18:29 +01:00 committed by GitHub
commit 4e5d5eecc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 19 deletions

View File

@ -1,14 +1,15 @@
{
fetchFromSourcehut,
installShellFiles,
less,
lib,
offpunk,
python3Packages,
testers,
timg,
xdg-utils,
xsel,
{ fetchFromSourcehut
, file
, installShellFiles
, less
, lib
, offpunk
, python3Packages
, testers
, timg
, xdg-utils
, xsel
,
}:
let
@ -23,6 +24,7 @@ let
setproctitle
];
otherDependencies = [
file
less
timg
xdg-utils
@ -31,7 +33,7 @@ let
in
python3Packages.buildPythonPackage rec {
pname = "offpunk";
version = "1.10";
version = "2.0";
format = "pyproject";
disabled = python3Packages.pythonOlder "3.7";
@ -40,23 +42,21 @@ python3Packages.buildPythonPackage rec {
owner = "~lioploum";
repo = "offpunk";
rev = "v${version}";
hash = "sha256-+jGKPPnKZHn+l6VAwuae6kICwR7ymkYJjsM2OHQAEmU=";
hash = "sha256-6ftc2goCNgvXf5kszvjeSHn24Hn73jq26Irl5jiN6pk=";
};
nativeBuildInputs = [ python3Packages.flit-core installShellFiles ];
nativeBuildInputs = [ python3Packages.hatchling installShellFiles ];
propagatedBuildInputs = otherDependencies ++ pythonDependencies;
postInstall = ''
installManPage man/*.1
'';
passthru.tests.version = testers.testVersion { package = offpunk; };
meta = with lib; {
description = "An Offline-First browser for the smolnet ";
homepage = src.meta.homepage;
maintainers = with maintainers; [ DamienCassou ];
platforms = platforms.linux;
license = licenses.bsd2;
license = licenses.agpl3Plus;
};
}

View File

@ -32527,8 +32527,6 @@ with pkgs;
noson = libsForQt5.callPackage ../applications/audio/noson { };
offpunk = callPackage ../applications/networking/browsers/offpunk { };
owl-compositor = callPackage ../applications/window-managers/owl { };
p2pool = callPackage ../applications/misc/p2pool { };