2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security, sqlite, xdg-utils}:
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "anup";
|
|
|
|
version = "0.4.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Acizza";
|
|
|
|
repo = "anup";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-4pXF4p4K8+YihVB9NdgT6bOidmQEgWXUbcbvgXJ0IDA=";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
sqlite
|
|
|
|
xdg-utils
|
2021-12-06 16:07:01 +00:00
|
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
|
|
Security
|
2021-06-28 23:13:55 +00:00
|
|
|
];
|
|
|
|
|
2023-03-27 19:17:25 +00:00
|
|
|
cargoLock = {
|
|
|
|
lockFile = ./Cargo.lock;
|
|
|
|
outputHashes = {
|
|
|
|
"tui-utils-0.10.0" = "sha256-xazeXTGiMFZEcSFEF26te3LQ5oFFcskIiYkLzfsXf/A=";
|
|
|
|
};
|
|
|
|
};
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/Acizza/anup";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Anime tracker for AniList featuring a TUI";
|
2021-06-28 23:13:55 +00:00
|
|
|
license = licenses.agpl3Only;
|
|
|
|
maintainers = with maintainers; [ natto1784 ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "anup";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
}
|