hath-rust: init at 1.11.0
This commit is contained in:
parent
067a39e41a
commit
e926b19c2d
36
pkgs/by-name/ha/hath-rust/package.nix
Normal file
36
pkgs/by-name/ha/hath-rust/package.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "hath-rust";
|
||||
version = "1.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "james58899";
|
||||
repo = "hath-rust";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-y2DpYKUA6XdtkynHhavh2SLl9jR+WFCOoo+Ep3IEq7w=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-al5JAiRzXFKuUdIRgnwkKEN9rHqU82/StiIjPkQjumU=";
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "--version";
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Unofficial Hentai@Home client written in Rust";
|
||||
homepage = "https://github.com/james58899/hath-rust";
|
||||
changelog = "https://github.com/james58899/hath-rust/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ moraxyc ];
|
||||
mainProgram = "hath-rust";
|
||||
};
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user