Skip to content

Commit

Permalink
nicotine-plus: 3.3.5 -> 3.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
amadalusia committed Nov 16, 2024
1 parent 3003a81 commit bd1b1d5
Showing 1 changed file with 34 additions and 21 deletions.
55 changes: 34 additions & 21 deletions pkgs/by-name/ni/nicotine-plus/package.nix
Original file line number Diff line number Diff line change
@@ -1,42 +1,51 @@
{ lib
, fetchFromGitHub
, wrapGAppsHook4
, gdk-pixbuf
, gettext
, gobject-introspection
, gtk4
, python3Packages
{
lib,
fetchFromGitHub,
wrapGAppsHook4,
gdk-pixbuf,
gettext,
gobject-introspection,
gtk4,
glib,
python3Packages,
libadwaita,
}:

python3Packages.buildPythonApplication rec {
pname = "nicotine-plus";
version = "3.3.5";
version = "3.3.6";

src = fetchFromGitHub {
owner = "nicotine-plus";
repo = "nicotine-plus";
rev = "refs/tags/${version}";
hash = "sha256-6tA3d+QX2ArDH4aeWZNKuIXe3Sk32JaFe8d0C8G9Akc=";
hash = "sha256-je3hyxbF9wKW2gvHoDp712EJxBxooS2z0pQM57WDdOk=";
};

nativeBuildInputs = [ gettext wrapGAppsHook4 gobject-introspection ];

propagatedBuildInputs = [
gdk-pixbuf
nativeBuildInputs = [
gettext
wrapGAppsHook4
gobject-introspection
glib
gdk-pixbuf
gtk4
];

buildInputs = [
libadwaita
];

propagatedBuildInputs = [
python3Packages.pygobject3
];

postInstall = ''
ln -s $out/bin/nicotine $out/bin/nicotine-plus
'';

preFixup = ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "${gtk4}/share/gsettings-schemas/${gtk4.name}"
)
'';
dontWrapGAppsHook = true;
makeWrapperArgs = [
"\${gappsWrapperArgs[@]}"
];

doCheck = false;

Expand All @@ -49,6 +58,10 @@ python3Packages.buildPythonApplication rec {
'';
homepage = "https://www.nicotine-plus.org";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ klntsky ];

maintainers = with maintainers; [
klntsky
amadaluzia
];
};
}

0 comments on commit bd1b1d5

Please sign in to comment.