nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 53 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 gsasl, 6 gnutls, 7 pkg-config, 8 cmake, 9 zlib, 10 libtasn1, 11 libgcrypt, 12 gtk3, 13 # this will not work on non-nixos systems 14 sendmailPath ? "/run/wrappers/bin/sendmail", 15}: 16 17stdenv.mkDerivation { 18 pname = "vmime"; 19 # XXX: using unstable rev for now to comply with the removal of 20 # deprecated symbols in the latest release of gsasl 21 version = "0-unstable-2025-07-21"; 22 src = fetchFromGitHub { 23 owner = "kisli"; 24 repo = "vmime"; 25 rev = "7046a4360bbeea21d1d8b5cfa4589bb4df7f980d"; 26 sha256 = "sha256-cwilSnybH5E0wq384lPnqAjPkQTLtlWS8NhmoFE/13k="; 27 }; 28 29 buildInputs = [ 30 gsasl 31 gnutls 32 zlib 33 libtasn1 34 libgcrypt 35 gtk3 36 ]; 37 nativeBuildInputs = [ 38 pkg-config 39 cmake 40 ]; 41 42 cmakeFlags = [ 43 "-DVMIME_SENDMAIL_PATH=${sendmailPath}" 44 ]; 45 46 meta = { 47 homepage = "https://www.vmime.org/"; 48 description = "Free mail library for C++"; 49 license = lib.licenses.gpl3; 50 maintainers = [ ]; 51 platforms = with lib.platforms; linux; 52 }; 53}