Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchgit,
|
|
nix-update-script,
|
|
pkg-config,
|
|
openssl,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "aerogramme";
|
|
version = "0.3.0";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.deuxfleurs.fr/Deuxfleurs/aerogramme/";
|
|
tag = version;
|
|
hash = "sha256-ER+P/XGqNzTLwDLK5EBZq/Dl29ZZKl2FdxDb+oLEJ8Y=";
|
|
};
|
|
|
|
cargoPatches = [
|
|
./0001-update-time-rs.patch
|
|
];
|
|
|
|
cargoHash = "sha256-GPj8qhfKgfAadQD9DJafN4ec8L6oY62PS/w/ljkPHpw=";
|
|
|
|
# disable network tests as Nix sandbox breaks them
|
|
doCheck = false;
|
|
|
|
env = {
|
|
# get openssl-sys to use pkg-config
|
|
OPENSSL_NO_VENDOR = true;
|
|
RUSTC_BOOTSTRAP = true;
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ openssl ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Encrypted e-mail storage over Garage";
|
|
homepage = "https://aerogramme.deuxfleurs.fr/";
|
|
license = lib.licenses.eupl12;
|
|
maintainers = with lib.maintainers; [ supinie ];
|
|
teams = with lib.teams; [ ngi ];
|
|
mainProgram = "aerogramme";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|