Merge master into staging-next
This commit is contained in:
commit
c0b8d5d7b9
67
pkgs/applications/networking/browsers/offpunk/default.nix
Normal file
67
pkgs/applications/networking/browsers/offpunk/default.nix
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
{
|
||||||
|
fetchFromGitea,
|
||||||
|
less,
|
||||||
|
lib,
|
||||||
|
makeWrapper,
|
||||||
|
offpunk,
|
||||||
|
python3,
|
||||||
|
ripgrep,
|
||||||
|
stdenv,
|
||||||
|
testVersion,
|
||||||
|
timg,
|
||||||
|
xdg-utils,
|
||||||
|
xsel,
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pythonDependencies = with python3.pkgs; [
|
||||||
|
beautifulsoup4
|
||||||
|
cryptography
|
||||||
|
feedparser
|
||||||
|
pillow
|
||||||
|
readability-lxml
|
||||||
|
requests
|
||||||
|
setproctitle
|
||||||
|
];
|
||||||
|
otherDependencies = [
|
||||||
|
less
|
||||||
|
ripgrep
|
||||||
|
timg
|
||||||
|
xdg-utils
|
||||||
|
xsel
|
||||||
|
];
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "offpunk";
|
||||||
|
version = "1.4";
|
||||||
|
|
||||||
|
src = fetchFromGitea {
|
||||||
|
domain = "notabug.org";
|
||||||
|
owner = "ploum";
|
||||||
|
repo = "offpunk";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
sha256 = "04dzkzsan1cnrslsvfgn1whpwald8xy34wqzvq81hd2mvw9a2n69";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ makeWrapper ] ++ otherDependencies ++ pythonDependencies;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -D ./offpunk.py $out/bin/offpunk
|
||||||
|
|
||||||
|
wrapProgram $out/bin/offpunk \
|
||||||
|
--set PYTHONPATH "$PYTHONPATH" \
|
||||||
|
--set PATH ${lib.makeBinPath otherDependencies}
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "An Offline-First browser for the smolnet ";
|
||||||
|
homepage = "https://notabug.org/ploum/offpunk";
|
||||||
|
maintainers = with maintainers; [ DamienCassou ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.bsd2;
|
||||||
|
};
|
||||||
|
})
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kopia";
|
pname = "kopia";
|
||||||
version = "0.10.7";
|
version = "0.11.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-f1wJuQGwDQAGPYRacvrMs4uSiUdaMCXkRnZYhkA3/JI=";
|
sha256 = "sha256-iTtqo5uP6sCGGqy/yguTxUo/svILRYSq75WlnieSceU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-iBBESP7yR+tFYgQ1saIhpw8R2kiVVvUeA0mhgTxyhAE=";
|
vendorSha256 = "sha256-phQ39li/iCoZFwmaKel6r4bRV8NZXbQhNgWdJbyqdIo=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
|
@ -27502,6 +27502,8 @@ with pkgs;
|
||||||
|
|
||||||
mt32emu-smf2wav = callPackage ../applications/audio/munt/mt32emu-smf2wav.nix { };
|
mt32emu-smf2wav = callPackage ../applications/audio/munt/mt32emu-smf2wav.nix { };
|
||||||
|
|
||||||
|
offpunk = callPackage ../applications/networking/browsers/offpunk { };
|
||||||
|
|
||||||
p2pool = callPackage ../applications/misc/p2pool { };
|
p2pool = callPackage ../applications/misc/p2pool { };
|
||||||
|
|
||||||
pass2csv = python3Packages.callPackage ../tools/security/pass2csv {};
|
pass2csv = python3Packages.callPackage ../tools/security/pass2csv {};
|
||||||
|
|
Loading…
Reference in a new issue