diff options
| author | Max Audron <audron@cocaine.farm> | 2023-11-12 13:51:50 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2023-11-12 13:52:15 +0100 |
| commit | 1aace801e00cb03afc3a715c8d2432a03cd80f88 (patch) | |
| tree | 93e1ef4ae23866ea3f352283161b9512dd3a3665 /modules/tlmp/rutorrent.pkg.nix | |
| parent | add fritzbox network wireguard vpn (diff) | |
add rutorrent config
Diffstat (limited to 'modules/tlmp/rutorrent.pkg.nix')
| -rw-r--r-- | modules/tlmp/rutorrent.pkg.nix | 25 |
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; + }; +} |
