aboutsummaryrefslogtreecommitdiff
path: root/modules/tlmp/rutorrent.pkg.nix
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2023-11-12 13:51:50 +0100
committerMax Audron <audron@cocaine.farm>2023-11-12 13:52:15 +0100
commit1aace801e00cb03afc3a715c8d2432a03cd80f88 (patch)
tree93e1ef4ae23866ea3f352283161b9512dd3a3665 /modules/tlmp/rutorrent.pkg.nix
parentadd fritzbox network wireguard vpn (diff)
add rutorrent config
Diffstat (limited to '')
-rw-r--r--modules/tlmp/rutorrent.pkg.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/tlmp/rutorrent.pkg.nix b/modules/tlmp/rutorrent.pkg.nix
new file mode 100644
index 0000000..df114d7
--- /dev/null
+++ b/modules/tlmp/rutorrent.pkg.nix
@@ -0,0 +1,25 @@
+{stdenv, lib, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ pname = "rutorrent";
+ version = "4.0.1-hotfix";
+
+ src = fetchFromGitHub {
+ owner = "Novik";
+ repo = "ruTorrent";
+ rev = "v${version}";
+ sha256 = "GmAF1doqkEX2xyu+hsvchwNuXs8xvtYs4s14MPcxKKk=";
+ };
+
+ installPhase = ''
+ mkdir -p $out/
+ cp -r . $out/
+ '';
+
+ meta = with lib; {
+ description = "Yet another web front-end for rTorrent";
+ homepage = "https://github.com/Novik/ruTorrent";
+ license = licenses.gpl3Plus;
+ platforms = platforms.unix;
+ };
+}