nicotine-plus: 1.4.1 -> 3.0.6

+17 -26
+16 -23
pkgs/applications/networking/soulseek/nicotine-plus/default.nix
··· 1 - { lib, fetchFromGitHub, python27Packages, geoip }: 2 3 with lib; 4 5 - python27Packages.buildPythonApplication { 6 pname = "nicotine-plus"; 7 - version = "1.4.1"; 8 9 src = fetchFromGitHub { 10 owner = "Nicotine-Plus"; 11 repo = "nicotine-plus"; 12 - rev = "4e057d64184885c63488d4213ade3233bd33e67b"; 13 - sha256 = "11j2qm67sszfqq730czsr2zmpgkghsb50556ax1vlpm7rw3gm33c"; 14 }; 15 16 - propagatedBuildInputs = with python27Packages; [ 17 - pygtk 18 - miniupnpc 19 - mutagen 20 - notify 21 - (GeoIP.override { inherit geoip; }) 22 - ]; 23 24 - # Insert real docs directory. 25 - # os.getcwd() is not needed 26 - postPatch = '' 27 - substituteInPlace ./pynicotine/gtkgui/frame.py \ 28 - --replace "paths.append(os.getcwd())" "paths.append('"$out"/doc')" 29 - ''; 30 31 - postFixup = '' 32 - mkdir -p $out/doc/ 33 - mv ./doc/NicotinePlusGuide $out/doc/ 34 mv $out/bin/nicotine $out/bin/nicotine-plus 35 ''; 36 37 meta = { 38 description = "A graphical client for the SoulSeek peer-to-peer system"; 39 homepage = "https://www.nicotine-plus.org"; 40 - license = licenses.gpl3; 41 - maintainers = with maintainers; [ klntsky ]; 42 platforms = platforms.unix; 43 }; 44 }
··· 1 + { lib, fetchFromGitHub, python3Packages, gettext, gdk-pixbuf 2 + , gobject-introspection, gtk3, wrapGAppsHook }: 3 4 with lib; 5 6 + python3Packages.buildPythonApplication rec { 7 pname = "nicotine-plus"; 8 + version = "3.0.6"; 9 10 src = fetchFromGitHub { 11 owner = "Nicotine-Plus"; 12 repo = "nicotine-plus"; 13 + rev = version; 14 + sha256 = "sha256-NL6TXFRB7OeqNEfdANkEqh+MCOF1+ehR+6RO1XsIix8="; 15 }; 16 17 + nativeBuildInputs = [ gettext wrapGAppsHook ]; 18 19 + propagatedBuildInputs = [ gtk3 gdk-pixbuf gobject-introspection ] 20 + ++ (with python3Packages; [ pygobject3 ]); 21 22 + postInstall = '' 23 mv $out/bin/nicotine $out/bin/nicotine-plus 24 + substituteInPlace $out/share/applications/org.nicotine_plus.Nicotine.desktop \ 25 + --replace "Exec=nicotine" "Exec=$out/bin/nicotine-plus" 26 ''; 27 + 28 + doCheck = false; 29 30 meta = { 31 description = "A graphical client for the SoulSeek peer-to-peer system"; 32 homepage = "https://www.nicotine-plus.org"; 33 + license = licenses.gpl3Plus; 34 + maintainers = with maintainers; [ ehmry klntsky ]; 35 platforms = platforms.unix; 36 }; 37 }
+1 -3
pkgs/top-level/all-packages.nix
··· 24952 24953 newsflash = callPackage ../applications/networking/feedreaders/newsflash { }; 24954 24955 - nicotine-plus = callPackage ../applications/networking/soulseek/nicotine-plus { 24956 - geoip = geoipWithDatabase; 24957 - }; 24958 24959 nice-dcv-client = callPackage ../applications/networking/remote/nice-dcv-client { }; 24960
··· 24952 24953 newsflash = callPackage ../applications/networking/feedreaders/newsflash { }; 24954 24955 + nicotine-plus = callPackage ../applications/networking/soulseek/nicotine-plus { }; 24956 24957 nice-dcv-client = callPackage ../applications/networking/remote/nice-dcv-client { }; 24958