nyaa: init at 0.9.1
Adds github.com/Beastwick18/nyaa to nixpkgs refactor: Update license Co-authored-by: emaryn <197520219+emaryn@users.noreply.github.com> refactor: Update Package description Co-authored-by: emaryn <197520219+emaryn@users.noreply.github.com> refactor: Switch from rev to tag Co-authored-by: emaryn <197520219+emaryn@users.noreply.github.com>
This commit is contained in:
parent
0830a0bb3a
commit
2e803153e6
37
pkgs/by-name/ny/nyaa/package.nix
Normal file
37
pkgs/by-name/ny/nyaa/package.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
nix-update-script,
|
||||
rustPlatform,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "nyaa";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Beastwick18";
|
||||
repo = "nyaa";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-WxOGtNMqQoEgztLaitwpE4MusGaLuKMmqi9L4prfOBY=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-oCe0Yn0DuwF7rG+MGBGQ0Fsgt3c4Wju7uFkp3+IiP0I=";
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Beastwick18/nyaa/releases/tag/v${finalAttrs.version}";
|
||||
description = "Tui tool for browsing and downloading torrents";
|
||||
homepage = "https://github.com/Beastwick18/nyaa";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
mainProgram = "nyaa";
|
||||
maintainers = with lib.maintainers; [ redyf ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user