New package
This commit is contained in:
parent
5f6f6ad094
commit
c0fa4bad27
1 changed files with 27 additions and 0 deletions
27
packages/rutorrent.nix
Normal file
27
packages/rutorrent.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue