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
52
53
54
55
56
57
58
|
{
lib,
buildDunePackage,
fetchurl,
mirage-crypto,
mirage-crypto-ec,
mirage-crypto-rng,
mirage-crypto-pk,
x509,
ohex,
eqaf,
mtime,
logs,
fmt,
cmdliner,
base64,
zarith,
mirage-mtime,
}:
buildDunePackage (finalAttrs: {
pname = "awa";
version = "0.6.1";
src = fetchurl {
url = "https://github.com/mirage/awa-ssh/releases/download/v${finalAttrs.version}/awa-${finalAttrs.version}.tbz";
hash = "sha256-xis3+I4cY9gQVSZmMCavIl9qGe7njoRQKfFZ6yh1kQE=";
};
propagatedBuildInputs = [
mirage-crypto
mirage-crypto-ec
mirage-crypto-rng
mirage-crypto-pk
x509
ohex
mtime
logs
base64
zarith
eqaf
];
doCheck = true;
checkInputs = [
cmdliner
fmt
mirage-mtime
];
meta = {
description = "SSH implementation in OCaml";
homepage = "https://github.com/mirage/awa-ssh";
changelog = "https://github.com/mirage/awa-ssh/raw/v${finalAttrs.version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.sternenseemann ];
};
})
|