From 1aace801e00cb03afc3a715c8d2432a03cd80f88 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Sun, 12 Nov 2023 13:51:50 +0100 Subject: add rutorrent config --- modules/tlmp/rutorrent.pkg.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 modules/tlmp/rutorrent.pkg.nix (limited to 'modules/tlmp/rutorrent.pkg.nix') 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; + }; +} -- cgit v1.2.3