blob: 580315f0ca0a87a40fd362b3d634693a6aa34229 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
fetchFromCodeberg,
rustPlatform,
openssl,
pkg-config,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "kitget";
version = "0.0.2";
src = fetchFromCodeberg {
owner = "koibtw";
repo = "kitget";
tag = "v${finalAttrs.version}";
hash = "sha256-i26nu5SkcPhqwh+/bw1rz7h8K2u+hhSsOGiLj3sF1RQ=";
};
cargoHash = "sha256-KARJV8SdbNa4tUuwyyfrLKdsj9fPF10MpL9hDGOQLm4=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
# the project doesn't implement any tests
doCheck = false;
meta = {
description = "Display and customize cat images in your terminal";
homepage = "https://codeberg.org/koibtw/kitget";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ koi ];
mainProgram = "kitget";
platforms = lib.platforms.linux;
};
})
|