packet: init at 0.3.4

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
This commit is contained in:
Louis Dalibard 2025-06-03 22:09:07 +02:00
parent a4eb33fcb6
commit b33e2df22a

View file

@ -0,0 +1,73 @@
{
lib,
stdenv,
fetchFromGitHub,
cargo,
meson,
ninja,
pkg-config,
protobuf,
rustPlatform,
rustc,
wrapGAppsHook4,
cairo,
dbus,
gdk-pixbuf,
glib,
gtk4,
libadwaita,
pango,
blueprint-compiler,
desktop-file-utils,
appstream,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "packet";
version = "0.3.4";
src = fetchFromGitHub {
owner = "nozwock";
repo = "packet";
tag = finalAttrs.version;
hash = "sha256-s3R/RDfQAQR6Jdehco5TD+2GpG4y9sEl0moWMxv3PZE=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-0Cbw5bSOK1bTq8ozZlRpZOelfak6N2vZOQPU4vsnepk=";
};
nativeBuildInputs = [
cargo
meson
ninja
pkg-config
protobuf
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook4
blueprint-compiler
desktop-file-utils
glib
gtk4
appstream
];
buildInputs = [
cairo
dbus
gdk-pixbuf
libadwaita
pango
];
meta = {
description = "Quick Share client for Linux";
homepage = "https://github.com/nozwock/packet";
changelog = "https://github.com/nozwock/packet/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ ontake ];
mainProgram = "packet";
platforms = lib.platforms.linux;
};
})