summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-09-29 19:06:15 +0200
committerlassulus <lass@blue.r>2018-09-29 19:06:15 +0200
commitd04fa5351158f91f8c38f1b0cc072def3f357e05 (patch)
treefbdb852412c80a17f4d726062c224a55b928b672 /krebs/5pkgs
parentb024b2e1ee80d8104f94d75360882bf340af4468 (diff)
parentd7ecf1abdcc52e82af8ea17e4fc8d4be8fc41822 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r--krebs/5pkgs/simple/airdcpp-webclient/default.nix28
1 files changed, 28 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 00000000..2bc6cdca
--- /dev/null
+++ b/krebs/5pkgs/simple/airdcpp-webclient/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchurl, makeWrapper, which
+}:
+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
+ makeWrapper $out/share/airdcppd $out/bin/airdcppd --prefix PATH ${which}/bin
+ '';
+ nativeBuildInputs = [ makeWrapper ];
+
+ 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;
+ };
+}