Compare commits
3 commits
07adce2449
...
edad2578a9
Author | SHA1 | Date | |
---|---|---|---|
edad2578a9 | |||
da4cf59e25 | |||
0d2f07fc0a |
3 changed files with 67 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
/target
|
||||
private.rs
|
||||
private.rs
|
||||
result
|
||||
|
|
10
Cargo.lock
generated
10
Cargo.lock
generated
|
@ -2416,6 +2416,8 @@ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
|
|||
[[package]]
|
||||
name = "relm4"
|
||||
version = "0.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cf0363f92b6a7eefd985b47f27b7ae168dd2fd5cd4013a338c9b111c33744d1f"
|
||||
dependencies = [
|
||||
"flume",
|
||||
"fragile",
|
||||
|
@ -2431,7 +2433,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "relm4-components"
|
||||
version = "0.9.0"
|
||||
version = "0.9.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fb3d67f2982131c5e6047af4278d8fe750266767e57b58bc15f2e11e190eef36"
|
||||
dependencies = [
|
||||
"once_cell",
|
||||
"relm4",
|
||||
|
@ -2441,10 +2445,14 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "relm4-css"
|
||||
version = "0.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1d3b924557df1cddc687b60b313c4b76620fdbf0e463afa4b29f67193ccf37f9"
|
||||
|
||||
[[package]]
|
||||
name = "relm4-macros"
|
||||
version = "0.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fc5885640821d60062497737dd42fd04248d13c7ecccee620caaa4b210fe9905"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
|
56
default.nix
Normal file
56
default.nix
Normal file
|
@ -0,0 +1,56 @@
|
|||
{ pkgs ? import <nixpkgs> {} }: let
|
||||
package = {
|
||||
rustPlatform,
|
||||
nix-gitignore,
|
||||
pkg-config,
|
||||
openssl,
|
||||
glib,
|
||||
gdk-pixbuf,
|
||||
graphene,
|
||||
cairo,
|
||||
pango,
|
||||
gtk4,
|
||||
libsoup_3,
|
||||
libadwaita,
|
||||
webkitgtk_6_0,
|
||||
libseccomp,
|
||||
wrapGAppsHook4,
|
||||
glib-networking,
|
||||
}: rustPlatform.buildRustPackage {
|
||||
pname = "paket";
|
||||
version = "unstable-2024-08-28";
|
||||
|
||||
src = nix-gitignore.gitignoreSource [] ./.;
|
||||
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
graphene
|
||||
cairo
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
# Building
|
||||
openssl
|
||||
glib
|
||||
gdk-pixbuf
|
||||
pango
|
||||
gtk4
|
||||
libsoup_3
|
||||
libadwaita
|
||||
webkitgtk_6_0 # for JSC
|
||||
|
||||
# Linking
|
||||
libseccomp
|
||||
|
||||
# Runtime
|
||||
glib-networking
|
||||
];
|
||||
|
||||
meta = {
|
||||
mainProgram = "packet";
|
||||
};
|
||||
};
|
||||
in pkgs.callPackage package { }
|
Loading…
Reference in a new issue