nix/lxc-nix/packages/rutorrent.nix
2024-07-15 23:03:00 +02:00

27 lines
556 B
Nix

{ pkgs ? import <nixpkgs> { }, lib, }:
with pkgs;
stdenv.mkDerivation rec {
pname = "rutorrent";
version = "4.2.9";
src = fetchFromGitHub {
owner = "Novik";
repo = "ruTorrent";
rev = "v${version}";
sha256 = "qgtP8IOJ5R8IWXf34MSa5WiH68oRG2j/IjGC2TPfQc0=";
};
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;
};
}