nix/packages/rutorrent.nix
2024-08-16 18:22:56 +02:00

27 lines
563 B
Nix

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