blob: 65ba33a0a8069dacca1ec3824f790ab229921ae6 (
plain) (
blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{
rustPlatform,
lib,
fetchFromGitHub,
pkg-config,
openssl,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "kty";
version = "0.3.1";
src = fetchFromGitHub {
owner = "grampelberg";
repo = "kty";
rev = "refs/tags/v${version}";
hash = "sha256-E9PqWDBKYJFYOUNyjiK+AM2WULMiwupFWTOQlBH+6d4=";
};
nativeBuildInputs = [
pkg-config
];
env = {
OPENSSL_NO_VENDOR = 1;
};
buildInputs =
[
openssl
]
++ lib.optionals stdenv.isDarwin (
with darwin.apple_sdk;
[
frameworks.SystemConfiguration
]
);
cargoHash = "sha256-mhXi4YgYT2NfIjtESjvSP5TMOl3UH3CJFwKlJriZ0/4=";
meta = {
homepage = "https://kty.dev/";
changelog = "https://github.com/grampelberg/kty/releases/tag/v${version}";
description = "Terminal for Kubernetes";
maintainers = with lib.maintainers; [ bot-wxt1221 ];
platforms = lib.platforms.unix;
mainProgram = "kty";
};
}
|