mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 08:44:31 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
26 lines
544 B
Nix
26 lines
544 B
Nix
{stdenv, lib, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rutorrent";
|
|
version = "4.2.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Novik";
|
|
repo = "ruTorrent";
|
|
rev = "v${version}";
|
|
hash = "sha256-Hkh2fWaZpJLxUYaojR97XVQWXTRzmFkQe4xKsmY1E8M=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|