59 lines
1.0 KiB
Nix
59 lines
1.0 KiB
Nix
{
|
|
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 ];
|
|
};
|
|
})
|