New package

This commit is contained in:
pazpi 2024-08-16 18:22:56 +02:00
parent 5f6f6ad094
commit c0fa4bad27
No known key found for this signature in database
GPG key ID: 0942571C4B9966BE

27
packages/rutorrent.nix Normal file
View file

@ -0,0 +1,27 @@
{ 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;
};
}