diff options
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; + }; +} |
