diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-02-07 15:19:21 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-02-07 23:35:47 +0000 |
commit | e5013c05a2f845255debf94318ab38ecef1c186b (patch) | |
tree | bec11a0bd31d3432a16899e5539f1098f1c168a4 /nixpkgs/pkgs/applications/networking/soulseek | |
parent | 4fc07c92ec07cafcf6d56143ea7334693143ef88 (diff) | |
parent | 2d2f10475138b7206572dc3ec288184df2be022e (diff) | |
download | nixlib-e5013c05a2f845255debf94318ab38ecef1c186b.tar nixlib-e5013c05a2f845255debf94318ab38ecef1c186b.tar.gz nixlib-e5013c05a2f845255debf94318ab38ecef1c186b.tar.bz2 nixlib-e5013c05a2f845255debf94318ab38ecef1c186b.tar.lz nixlib-e5013c05a2f845255debf94318ab38ecef1c186b.tar.xz nixlib-e5013c05a2f845255debf94318ab38ecef1c186b.tar.zst nixlib-e5013c05a2f845255debf94318ab38ecef1c186b.zip |
Merge commit '2d2f10475138b7206572dc3ec288184df2be022e'
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/soulseek')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/soulseek/nicotine-plus/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/soulseek/nicotine-plus/default.nix b/nixpkgs/pkgs/applications/networking/soulseek/nicotine-plus/default.nix new file mode 100644 index 000000000000..a38a9140b490 --- /dev/null +++ b/nixpkgs/pkgs/applications/networking/soulseek/nicotine-plus/default.nix @@ -0,0 +1,44 @@ +{ stdenv, fetchFromGitHub, python27Packages, geoip }: + +with stdenv.lib; + +python27Packages.buildPythonApplication rec { + pname = "nicotine-plus"; + version = "1.4.1"; + + src = fetchFromGitHub { + owner = "Nicotine-Plus"; + repo = "nicotine-plus"; + rev = "4e057d64184885c63488d4213ade3233bd33e67b"; + sha256 = "11j2qm67sszfqq730czsr2zmpgkghsb50556ax1vlpm7rw3gm33c"; + }; + + propagatedBuildInputs = with python27Packages; [ + pygtk + miniupnpc + mutagen + notify + (GeoIP.override { inherit geoip; }) + ]; + + # Insert real docs directory. + # os.getcwd() is not needed + postPatch = '' + substituteInPlace ./pynicotine/gtkgui/frame.py \ + --replace "paths.append(os.getcwd())" "paths.append('"$out"/doc')" + ''; + + postFixup = '' + mkdir -p $out/doc/ + mv ./doc/NicotinePlusGuide $out/doc/ + mv $out/bin/nicotine $out/bin/nicotine-plus + ''; + + meta = { + description = "A graphical client for the SoulSeek peer-to-peer system"; + homepage = https://www.nicotine-plus.org; + license = licenses.gpl3; + maintainers = with maintainers; [ klntsky ]; + platforms = platforms.unix; + }; +} |