1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

Merge pull request #332674 from supinie/aerogramme

aerogramme: init at 0.3.0
This commit is contained in:
Julien Malka 2024-08-08 19:35:36 +02:00 committed by GitHub
commit 6017bb2019
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4340 additions and 0 deletions

View file

@ -19761,6 +19761,12 @@
githubId = 7258858;
name = "Sandro Jäckel";
};
supinie = {
name = "supinie";
email = "nix@supinie.com";
github = "supinie";
githubId = 86788874;
};
SuprDewd = {
email = "suprdewd@gmail.com";
github = "SuprDewd";

4286
pkgs/by-name/ae/aerogramme/Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,48 @@
{
lib,
rustPlatform,
fetchgit,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage {
RUSTC_BOOTSTRAP = true;
pname = "aerogramme";
version = "0.3.0";
src = fetchgit {
url = "https://git.deuxfleurs.fr/Deuxfleurs/aerogramme/";
hash = "sha256-ER+P/XGqNzTLwDLK5EBZq/Dl29ZZKl2FdxDb+oLEJ8Y=";
};
# must use our own Cargo.lock due to git dependencies
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"imap-codec-2.0.0" = "sha256-o64Q74Q84xLRfU4K4JtcjyS0J8mfoApvUs9siscd0RA=";
"imap-flow-0.1.0" = "sha256-IopxybuVt5OW6vFiw/4MxojzaNZrKu2xyfaX6F8IYlA=";
"k2v-client-0.0.4" = "sha256-V71FCIsgK3VStFOzVntm8P0vXRobF5rQ74qar+cKyik=";
"smtp-message-0.1.0" = "sha256-FoSakm3D1xg1vefLf/zkyvzsij1G0QstK3CRo+LbByE=";
};
};
# disable network tests as Nix sandbox breaks them
doCheck = false;
# get openssl-sys to use pkg-config
OPENSSL_NO_VENDOR = 1;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = {
description = "Encrypted e-mail storage over Garage";
homepage = "https://aerogramme.deuxfleurs.fr/";
license = lib.licenses.eupl12;
maintainers = with lib.maintainers; [ supinie ];
mainProgram = "aerogramme";
platforms = lib.platforms.linux;
};
}