feat: a bunch of changes i forgot to commit
This commit is contained in:
parent
57c72d9ac7
commit
8141140de9
21 changed files with 2871 additions and 186 deletions
73
overlays/derivations/nicotine-plus.nix
Normal file
73
overlays/derivations/nicotine-plus.nix
Normal file
|
@ -0,0 +1,73 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
wrapGAppsHook4,
|
||||
gdk-pixbuf,
|
||||
gettext,
|
||||
gobject-introspection,
|
||||
gtk4,
|
||||
glib,
|
||||
python3Packages,
|
||||
libadwaita,
|
||||
makeWrapper,
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "nicotine-plus";
|
||||
version = "3.3.6";
|
||||
pyproject = true;
|
||||
src = fetchFromGitHub {
|
||||
owner = "nicotine-plus";
|
||||
repo = "nicotine-plus";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-je3hyxbF9wKW2gvHoDp712EJxBxooS2z0pQM57WDdOk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
wrapGAppsHook4
|
||||
gobject-introspection
|
||||
glib
|
||||
gdk-pixbuf
|
||||
gtk4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libadwaita
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
python3Packages.pygobject3
|
||||
];
|
||||
|
||||
build-system = [
|
||||
python3Packages.setuptools
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/nicotine \
|
||||
--set NICOTINE_LIBADWAITA 1
|
||||
ln -s $out/bin/nicotine $out/bin/nicotine-plus
|
||||
'';
|
||||
|
||||
dontWrapGAppsHook = true;
|
||||
makeWrapperArgs = [
|
||||
"\${gappsWrapperArgs[@]}"
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
meta = with lib; {
|
||||
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";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [
|
||||
klntsky
|
||||
amadaluzia
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue