nicotine-plus: 3.2.1 -> 3.2.2

Fixes: #179349
This commit is contained in:
Azat Bahawi 2022-06-30 21:28:30 +03:00 committed by ehmry
parent 460b31a32f
commit 95cc37ab9a

View file

@ -1,29 +1,36 @@
{ stdenv, lib, fetchFromGitHub, python3Packages, gettext, gdk-pixbuf
, gobject-introspection, gtk3, wrapGAppsHook }:
with lib;
{ lib
, stdenv
, fetchFromGitHub
, wrapGAppsHook
, gdk-pixbuf
, gettext
, gobject-introspection
, gtk3
, python3Packages
}:
python3Packages.buildPythonApplication rec {
pname = "nicotine-plus";
version = "3.2.1";
version = "3.2.2";
src = fetchFromGitHub {
owner = "Nicotine-Plus";
owner = "nicotine-plus";
repo = "nicotine-plus";
rev = version;
hash = "sha256-3NXlNd3Zy++efnvcnfIOUP83mdJ5h8BmE4a2uWn5CPQ=";
sha256 = "sha256-aD5LQ0l6bet/iQKiu1mta4fUeijfip9IdzbGnTkCNdQ=";
};
nativeBuildInputs = [ gettext wrapGAppsHook ];
propagatedBuildInputs = [ gtk3 gdk-pixbuf gobject-introspection ]
++ (with python3Packages; [ pygobject3 ]);
propagatedBuildInputs = [
gdk-pixbuf
gobject-introspection
gtk3
python3Packages.pygobject3
];
postInstall = ''
ln -s $out/bin/nicotine $out/bin/nicotine-plus
test -e $out/share/applications/org.nicotine_plus.Nicotine.desktop && exit 1
install -D data/org.nicotine_plus.Nicotine.desktop -t $out/share/applications
'';
preFixup = ''
@ -34,12 +41,16 @@ python3Packages.buildPythonApplication rec {
doCheck = false;
meta = {
meta = with lib; {
broken = stdenv.isDarwin;
description = "A graphical client for the SoulSeek peer-to-peer system";
longDescription = ''
Nicotine+ aims to be a pleasant, free and open source (FOSS) alternative
to the official Soulseek client, providing additional functionality while
keeping current with the Soulseek protocol.
'';
homepage = "https://www.nicotine-plus.org";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ehmry klntsky ];
platforms = platforms.unix;
};
}