nixpkgs/pkgs/by-name/ni/nicotine-plus/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

70 lines
1.4 KiB
Nix
Raw Normal View History

2024-11-16 00:32:57 +00:00
{
lib,
fetchFromGitHub,
wrapGAppsHook4,
gdk-pixbuf,
gettext,
gobject-introspection,
gtk4,
glib,
python3Packages,
libadwaita,
}:
2021-05-08 08:28:06 +00:00
python3Packages.buildPythonApplication rec {
2019-02-06 21:52:01 +00:00
pname = "nicotine-plus";
2024-11-16 00:32:57 +00:00
version = "3.3.6";
pyproject = true;
2019-02-06 21:52:01 +00:00
src = fetchFromGitHub {
owner = "nicotine-plus";
2019-02-06 21:52:01 +00:00
repo = "nicotine-plus";
2022-08-21 11:48:49 +00:00
rev = "refs/tags/${version}";
2024-11-16 00:32:57 +00:00
hash = "sha256-je3hyxbF9wKW2gvHoDp712EJxBxooS2z0pQM57WDdOk=";
2019-02-06 21:52:01 +00:00
};
2024-11-16 00:32:57 +00:00
nativeBuildInputs = [
gettext
wrapGAppsHook4
gobject-introspection
2024-11-16 00:32:57 +00:00
glib
gdk-pixbuf
2024-03-09 23:04:02 +00:00
gtk4
2024-11-16 00:32:57 +00:00
];
buildInputs = [
libadwaita
];
dependencies = [
python3Packages.pygobject3
];
2021-12-29 21:18:27 +00:00
2024-11-16 00:32:57 +00:00
build-system = [
python3Packages.setuptools
];
2021-05-08 08:28:06 +00:00
postInstall = ''
2021-12-29 21:18:27 +00:00
ln -s $out/bin/nicotine $out/bin/nicotine-plus
2019-02-06 21:52:01 +00:00
'';
2024-11-16 00:32:57 +00:00
dontWrapGAppsHook = true;
makeWrapperArgs = [
"\${gappsWrapperArgs[@]}"
];
2021-05-08 08:28:06 +00:00
doCheck = false;
meta = with lib; {
2019-02-06 21:52:01 +00:00
description = "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";
2021-05-08 08:28:06 +00:00
license = licenses.gpl3Plus;
2024-11-16 00:32:57 +00:00
maintainers = with maintainers; [
klntsky
amadaluzia
];
2019-02-06 21:52:01 +00:00
};
}