28 lines
834 B
Nix
28 lines
834 B
Nix
{ pkgs }:
|
|||
|
|
let
|
||
|
|
pname = "ani-cli-rs";
|
||
|
|
version = "0.9.3";
|
||
|
|
|
||
|
|
src = pkgs.fetchFromGitHub {
|
||
|
|
owner = "vorlie";
|
||
|
|
repo = "ani-cli-rs";
|
||
|
|
rev = "${version}";
|
||
|
|
sha256 = "sha256-4JjCe9dCggLtETmH8yWYyn1tkHimPYtTp0BLQML3NKY=";
|
||
|
|
};
|
||
|
|
in pkgs.rustPlatform.buildRustPackage {
|
||
|
|
inherit pname version src;
|
||
|
|
cargoLock = { lockFile = "${src}/Cargo.lock"; };
|
||
|
|
|
||
|
|
# tests make this package fail to build, this line skips them
|
||
|
|
doCheck = false;
|
||
|
|
|
||
|
|
meta = {
|
||
|
|
description = "A cross-platform Rust port of ani-cli with two independent Anikoto catalogs and native MegaPlay/KotoCDN playback";
|
||
|
|
mainProgram = "ani-cli-rs";
|
||
|
|
homepage = "https://github.com/vorlie/ani-cli-rs";
|
||
|
|
maintainers = [ "wymillerlinux" ];
|
||
|
|
platforms = [ "x86_64-linux" ];
|
||
|
|
changelog = "https://github.com/vorlie/ani-cli-rs/releases/tag/${version}";
|
||
|
|
};
|
||
|
|
}
|