Merge pull request #61530 from thedavidmeister/2019-05-15-patchwork

patchwork: init at 3.11.4
This commit is contained in:
Silvan Mosberger 2019-05-26 20:45:13 +02:00 committed by GitHub
commit 6e46d0b72a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 0 deletions

View File

@ -5017,6 +5017,11 @@
github = "the-kenny";
name = "Moritz Ulrich";
};
thedavidmeister = {
email = "thedavidmeister@gmail.com";
github = "thedavidmeister";
name = "David Meister";
};
thesola10 = {
email = "thesola10@bobile.fr";
github = "thesola10";

View File

@ -0,0 +1,46 @@
{
stdenv,
appimage-run,
fetchurl,
runtimeShell,
gsettings-desktop-schemas,
gtk3,
gobject-introspection,
wrapGAppsHook,
}:
stdenv.mkDerivation rec {
# latest version that runs without errors
# https://github.com/ssbc/patchwork/issues/972
version = "3.11.4";
pname = "patchwork";
src = fetchurl {
url = "https://github.com/ssbc/patchwork/releases/download/v${version}/Patchwork-${version}-linux-x86_64.AppImage";
sha256 = "1blsprpkvm0ws9b96gb36f0rbf8f5jgmw4x6dsb1kswr4ysf591s";
};
nativeBuildInputs = [ wrapGAppsHook ];
buildInputs = [ appimage-run gtk3 gsettings-desktop-schemas gobject-introspection ];
unpackPhase = ":";
installPhase = ''
mkdir -p $out/{bin,share}
cp $src $out/share/${pname}
echo "#!${runtimeShell}" > $out/bin/${pname}
echo "${appimage-run}/bin/appimage-run $out/share/${pname}" >> $out/bin/${pname}
chmod +x $out/bin/${pname} $out/share/${pname}
'';
meta = with stdenv.lib; {
description = "A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB).";
longDescription = ''
sea-slang for gossip - a scuttlebutt is basically a watercooler on a ship.
'';
homepage = https://www.scuttlebutt.nz/;
license = licenses.agpl3;
maintainers = with maintainers; [ thedavidmeister ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -12955,6 +12955,8 @@ in
lvtk = callPackage ../development/libraries/audio/lvtk { };
patchwork = callPackage ../applications/networking/ssb/patchwork { };
qradiolink = callPackage ../applications/radio/qradiolink { };
qrupdate = callPackage ../development/libraries/qrupdate { };