mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
parent
460b31a32f
commit
95cc37ab9a
@ -1,29 +1,36 @@
|
||||
{ stdenv, lib, fetchFromGitHub, python3Packages, gettext, gdk-pixbuf
|
||||
, gobject-introspection, gtk3, wrapGAppsHook }:
|
||||
|
||||
with lib;
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, wrapGAppsHook
|
||||
, gdk-pixbuf
|
||||
, gettext
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, python3Packages
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "nicotine-plus";
|
||||
version = "3.2.1";
|
||||
version = "3.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nicotine-Plus";
|
||||
owner = "nicotine-plus";
|
||||
repo = "nicotine-plus";
|
||||
rev = version;
|
||||
hash = "sha256-3NXlNd3Zy++efnvcnfIOUP83mdJ5h8BmE4a2uWn5CPQ=";
|
||||
sha256 = "sha256-aD5LQ0l6bet/iQKiu1mta4fUeijfip9IdzbGnTkCNdQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gettext wrapGAppsHook ];
|
||||
|
||||
propagatedBuildInputs = [ gtk3 gdk-pixbuf gobject-introspection ]
|
||||
++ (with python3Packages; [ pygobject3 ]);
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gdk-pixbuf
|
||||
gobject-introspection
|
||||
gtk3
|
||||
python3Packages.pygobject3
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/bin/nicotine $out/bin/nicotine-plus
|
||||
test -e $out/share/applications/org.nicotine_plus.Nicotine.desktop && exit 1
|
||||
install -D data/org.nicotine_plus.Nicotine.desktop -t $out/share/applications
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
@ -34,12 +41,16 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "A 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; [ ehmry klntsky ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user