lemoa: 0.4.0 -> 0.5.0

This commit is contained in:
2023-12-19 18:08:16 +00:00
parent 9d04037bec
commit 0c34aec8ec
2 changed files with 24 additions and 3324 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,6 @@
{ lib { lib, stdenv
, cargo
, desktop-file-utils
, fetchFromGitHub , fetchFromGitHub
, gdk-pixbuf , gdk-pixbuf
, gitUpdater , gitUpdater
@@ -6,28 +8,43 @@
, graphene , graphene
, gtk4 , gtk4
, libadwaita , libadwaita
, meson
, ninja
, openssl , openssl
, pango , pango
, pkg-config , pkg-config
, rustc
, rustPlatform , rustPlatform
, wrapGAppsHook4
}: }:
rustPlatform.buildRustPackage rec { stdenv.mkDerivation rec {
pname = "lemoa"; pname = "lemoa";
version = "0.4.0"; version = "0.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lemmy-gtk"; owner = "lemmy-gtk";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-0xMdshQ12mV93r5UwxRLgYsIj97GgxmDDMEisam29HI="; hash = "sha256-kVyVU6GYxx4axype1VNfU8gh7ZoxJqkxwX9gCGQLPE8=";
}; };
cargoLock = { cargoDeps = rustPlatform.fetchCargoTarball {
lockFile = ./Cargo.lock; inherit src;
name = "${pname}-${version}";
hash = "sha256-efUFa77fIsGcvH0n82ITT4cgCkbowxZ/Y5rrIz0F3yQ=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [
cargo
desktop-file-utils
meson
ninja
pkg-config
rustc
rustPlatform.cargoSetupHook
wrapGAppsHook4
];
buildInputs = [ buildInputs = [
gtk4 gtk4
libadwaita libadwaita