envelope: init at 0.1.0-unstable-2024-09-13

the Cargo.lock file was manually generated by running `cargo build` in
the source directory.
This commit is contained in:
2024-10-13 21:20:17 +00:00
parent 455b05e99a
commit d8a41ff3c6
2 changed files with 4560 additions and 0 deletions

4461
pkgs/by-name/envelope/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,99 @@
{
appstream-glib,
cargo,
desktop-file-utils,
fetchFromGitLab,
glib,
gst_all_1,
gtk4,
gtksourceview5,
lib,
libadwaita,
libshumate,
libsoup_3,
meson,
ninja,
openssl,
pipewire,
pkg-config,
python3,
rustPlatform,
rustc,
sqlite,
stdenv,
webkitgtk_6_0,
wrapGAppsHook4,
xdg-desktop-portal,
}:
stdenv.mkDerivation {
pname = "envelope";
# version = "0.1.0-unstable-2024-10-13";
version = "0.1.0-unstable-2024-09-13";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "felinira";
repo = "envelope";
# rev = "c3f5ed4f9489576974d3ee6765b56bcfeafb1abe";
# hash = "sha256-6s1DsgGDgXEtM6yvs8mNKElj9SOaWXpiPmw3TdDfMXs=";
rev = "11ce86da13793787a25e48ca23322b33fcf8bf34"; # last commit before libadwaita 1.6
hash = "sha256-EX309RhisBx27TscMsibEvqCSCUSukTgf4Xs1Vws4YY=";
};
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
};
nativeBuildInputs = [
appstream-glib
cargo
desktop-file-utils
glib
gtk4
meson
ninja
pkg-config
python3
rustPlatform.bindgenHook
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook4
];
buildInputs =
[
glib
gtk4
gtksourceview5
libadwaita
libshumate
libsoup_3
openssl
pipewire
sqlite
webkitgtk_6_0
xdg-desktop-portal
]
++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-bad
gst-plugins-good
]);
postPatch = ''
patchShebangs --build build-aux/meson-cargo-manifest.py
# versions prior to c3f5ed4f (2024-10-13) didn't embed Cargo.lock
cp ${./Cargo.lock} Cargo.lock
'';
meta = with lib; {
description = "a mobile-first email client for the GNOME ecosystem";
homepage = "https://gitlab.gnome.org/felinira/envelope/";
license = licenses.gpl3Plus;
maintainers = [ maintainers.colinsane ];
platforms = platforms.linux;
mainProgram = "envelope";
};
}