mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
95cc37ab9a
Fixes: #179349
57 lines
1.3 KiB
Nix
57 lines
1.3 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, wrapGAppsHook
|
|
, gdk-pixbuf
|
|
, gettext
|
|
, gobject-introspection
|
|
, gtk3
|
|
, python3Packages
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "nicotine-plus";
|
|
version = "3.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nicotine-plus";
|
|
repo = "nicotine-plus";
|
|
rev = version;
|
|
sha256 = "sha256-aD5LQ0l6bet/iQKiu1mta4fUeijfip9IdzbGnTkCNdQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ gettext wrapGAppsHook ];
|
|
|
|
propagatedBuildInputs = [
|
|
gdk-pixbuf
|
|
gobject-introspection
|
|
gtk3
|
|
python3Packages.pygobject3
|
|
];
|
|
|
|
postInstall = ''
|
|
ln -s $out/bin/nicotine $out/bin/nicotine-plus
|
|
'';
|
|
|
|
preFixup = ''
|
|
gappsWrapperArgs+=(
|
|
--prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}"
|
|
)
|
|
'';
|
|
|
|
doCheck = false;
|
|
|
|
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 ];
|
|
};
|
|
}
|