hath-rust: init at 1.11.0 (#414652)

Aleksana dfa4bf9d a12f3a99

Changed files
+36
pkgs
by-name
ha
hath-rust
+36
pkgs/by-name/ha/hath-rust/package.nix
···
+
{
+
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";
+
};
+
})