mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
parent
460b31a32f
commit
95cc37ab9a
@ -1,29 +1,36 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, python3Packages, gettext, gdk-pixbuf
|
{ lib
|
||||||
, gobject-introspection, gtk3, wrapGAppsHook }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
with lib;
|
, wrapGAppsHook
|
||||||
|
, gdk-pixbuf
|
||||||
|
, gettext
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk3
|
||||||
|
, python3Packages
|
||||||
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "nicotine-plus";
|
pname = "nicotine-plus";
|
||||||
version = "3.2.1";
|
version = "3.2.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Nicotine-Plus";
|
owner = "nicotine-plus";
|
||||||
repo = "nicotine-plus";
|
repo = "nicotine-plus";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-3NXlNd3Zy++efnvcnfIOUP83mdJ5h8BmE4a2uWn5CPQ=";
|
sha256 = "sha256-aD5LQ0l6bet/iQKiu1mta4fUeijfip9IdzbGnTkCNdQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext wrapGAppsHook ];
|
nativeBuildInputs = [ gettext wrapGAppsHook ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ gtk3 gdk-pixbuf gobject-introspection ]
|
propagatedBuildInputs = [
|
||||||
++ (with python3Packages; [ pygobject3 ]);
|
gdk-pixbuf
|
||||||
|
gobject-introspection
|
||||||
|
gtk3
|
||||||
|
python3Packages.pygobject3
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
ln -s $out/bin/nicotine $out/bin/nicotine-plus
|
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 = ''
|
preFixup = ''
|
||||||
@ -34,12 +41,16 @@ python3Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
broken = stdenv.isDarwin;
|
broken = stdenv.isDarwin;
|
||||||
description = "A graphical client for the SoulSeek peer-to-peer system";
|
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";
|
homepage = "https://www.nicotine-plus.org";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ ehmry klntsky ];
|
maintainers = with maintainers; [ ehmry klntsky ];
|
||||||
platforms = platforms.unix;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user