summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/airdcpp-webclient
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-09-24 23:32:28 +0200
committermakefu <github@syntax-fehler.de>2018-09-24 23:32:28 +0200
commit20c69c0386df4606af544342d7de6638356572a3 (patch)
treeabbd3b51eff8cd5ab8d962acabacd135a6fdcabd /krebs/5pkgs/simple/airdcpp-webclient
parent796ad2c5c8ed67a4ece5a78e8e9cd5e1fbfe4e9e (diff)
treewide: makefu.airdcpp -> krebs.airdcpp
Diffstat (limited to 'krebs/5pkgs/simple/airdcpp-webclient')
-rw-r--r--krebs/5pkgs/simple/airdcpp-webclient/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/airdcpp-webclient/default.nix b/krebs/5pkgs/simple/airdcpp-webclient/default.nix
new file mode 100644
index 000000000..361a7da65
--- /dev/null
+++ b/krebs/5pkgs/simple/airdcpp-webclient/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl
+}:
+stdenv.mkDerivation rec {
+ name = "airdcpp-webclient-${version}";
+ version = "2.3.0";
+
+ src = fetchurl {
+ url = http://web-builds.airdcpp.net/stable/airdcpp_2.3.0_webui-2.3.0_64-bit_portable.tar.gz;
+ sha256 = "0yvcl0nc70fghc7vfsgvbpryi5q97arld8adql4way4qa0mdnyv1";
+ };
+
+ phases = [ "unpackPhase" "installPhase" ];
+ installPhase = ''
+ mkdir -p $out/{share,bin}
+ cp -r * $out/share
+ ln -s $out/share/airdcppd $out/bin/
+ '';
+
+ meta = with stdenv.lib; {
+ # to start it: airdcpp -p=<pid-file> -c=<config-store-path (must be writeable)> --configure
+ description = "dcpp client (statically precompiled)";
+ homepage = http://fixme;
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ makefu ];
+ platforms = with platforms; linux;
+ };
+}