mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
55 lines
1.3 KiB
Nix
55 lines
1.3 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, wrapGAppsHook4
|
|
, gdk-pixbuf
|
|
, gettext
|
|
, gobject-introspection
|
|
, gtk4
|
|
, python3Packages
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "nicotine-plus";
|
|
version = "3.3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nicotine-plus";
|
|
repo = "nicotine-plus";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-3OMcCMHx+uRid9MF2LMaqUOVQEDlvJiLIVDpCunhxw8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ gettext wrapGAppsHook4 gobject-introspection ];
|
|
|
|
propagatedBuildInputs = [
|
|
gdk-pixbuf
|
|
gobject-introspection
|
|
gtk4
|
|
python3Packages.pygobject3
|
|
];
|
|
|
|
postInstall = ''
|
|
ln -s $out/bin/nicotine $out/bin/nicotine-plus
|
|
'';
|
|
|
|
preFixup = ''
|
|
gappsWrapperArgs+=(
|
|
--prefix XDG_DATA_DIRS : "${gtk4}/share/gsettings-schemas/${gtk4.name}"
|
|
)
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|