packet: init at 0.3.4 (#413357)

This commit is contained in:
Aleksana 2025-06-08 21:07:29 +08:00 committed by GitHub
commit b612bbedf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 81 additions and 0 deletions

View file

@ -18544,6 +18544,14 @@
githubId = 107261;
name = "Andrey Kuznetsov";
};
ontake = {
name = "Louis Dalibard";
email = "ontake@ontake.dev";
github = "make-42";
githubId = 17462236;
matrix = "@ontake:matrix.ontake.dev";
keys = [ { fingerprint = "36BC 916D DD4E B1EE EE82 4BBF DC95 900F 6DA7 9992"; } ];
};
onthestairs = {
email = "austinplatt@gmail.com";
github = "onthestairs";

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;
};
})