Files
nixpkgs/pkgs/development/ocaml-modules/awa/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

61 lines
1.0 KiB
Nix

{
lib,
buildDunePackage,
fetchurl,
mirage-crypto,
mirage-crypto-ec,
mirage-crypto-rng,
mirage-crypto-pk,
x509,
cstruct,
cstruct-unix,
eqaf,
mtime,
logs,
fmt,
cmdliner,
base64,
zarith,
mirage-mtime,
}:
buildDunePackage rec {
pname = "awa";
version = "0.5.2";
src = fetchurl {
url = "https://github.com/mirage/awa-ssh/releases/download/v${version}/awa-${version}.tbz";
hash = "sha256-64gloekVN0YsBwUodrJc6QaNU3PGKMIZMPJWvBfzaj0=";
};
propagatedBuildInputs = [
mirage-crypto
mirage-crypto-ec
mirage-crypto-rng
mirage-crypto-pk
x509
cstruct
mtime
logs
base64
zarith
eqaf
];
doCheck = true;
checkInputs = [
cstruct-unix
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${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.sternenseemann ];
};
}