2021-05-08 09:28:06 +01:00
|
|
|
{ lib, fetchFromGitHub, python3Packages, gettext, gdk-pixbuf
|
|
|
|
, gobject-introspection, gtk3, wrapGAppsHook }:
|
2019-02-06 21:52:01 +00:00
|
|
|
|
2021-01-15 05:42:41 +00:00
|
|
|
with lib;
|
2019-02-06 21:52:01 +00:00
|
|
|
|
2021-05-08 09:28:06 +01:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2019-02-06 21:52:01 +00:00
|
|
|
pname = "nicotine-plus";
|
2021-12-04 21:57:51 +00:00
|
|
|
version = "3.1.1";
|
2019-02-06 21:52:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Nicotine-Plus";
|
|
|
|
repo = "nicotine-plus";
|
2021-05-08 09:28:06 +01:00
|
|
|
rev = version;
|
2021-12-04 21:57:51 +00:00
|
|
|
hash = "sha256-NfI2RfxAYhA1qefml1ayfYWjbkrzUL4l9p2Rm/ROnzQ=";
|
2019-02-06 21:52:01 +00:00
|
|
|
};
|
|
|
|
|
2021-05-08 09:28:06 +01:00
|
|
|
nativeBuildInputs = [ gettext wrapGAppsHook ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ gtk3 gdk-pixbuf gobject-introspection ]
|
|
|
|
++ (with python3Packages; [ pygobject3 ]);
|
2019-02-06 21:52:01 +00:00
|
|
|
|
2021-05-08 09:28:06 +01:00
|
|
|
postInstall = ''
|
2019-02-06 21:52:01 +00:00
|
|
|
mv $out/bin/nicotine $out/bin/nicotine-plus
|
|
|
|
'';
|
|
|
|
|
2021-05-08 09:28:06 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-02-06 21:52:01 +00:00
|
|
|
meta = {
|
|
|
|
description = "A graphical client for the SoulSeek peer-to-peer system";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.nicotine-plus.org";
|
2021-05-08 09:28:06 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ ehmry klntsky ];
|
2019-02-06 21:52:01 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|