mirror of
https://gitea.mizah.xyz/mizah/dergchat
synced 2025-03-03 17:51:44 -05:00
Added the start of a package definition in flake.nix
This commit is contained in:
parent
3e86a4706f
commit
781441cc13
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -4984,7 +4984,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "xmpp"
|
||||
version = "0.5.0"
|
||||
source = "git+https://gitlab.com/werner.kroneman/xmpp-rs.git?rev=ecd0be4aad985e9812626d6c4499c2586c158aba#ecd0be4aad985e9812626d6c4499c2586c158aba"
|
||||
source = "git+https://gitlab.com/xmpp-rs/xmpp-rs.git?rev=2b433d7036209f35ff7daf033a7b7692e58ab6c3#2b433d7036209f35ff7daf033a7b7692e58ab6c3"
|
||||
dependencies = [
|
||||
"futures",
|
||||
"log",
|
||||
|
@ -29,7 +29,7 @@ dioxus = "0.4.3"
|
||||
dioxus-desktop = "0.4.3"
|
||||
dioxus-hot-reload = { version="0.4.3", features=["file_watcher"] }
|
||||
futures-util = "0.3.29"
|
||||
xmpp = { git = "https://gitlab.com/werner.kroneman/xmpp-rs.git", rev="ecd0be4aad985e9812626d6c4499c2586c158aba"}
|
||||
xmpp = { git = "https://gitlab.com/xmpp-rs/xmpp-rs.git", rev="2b433d7036209f35ff7daf033a7b7692e58ab6c3" }
|
||||
keyring = "2.1.0"
|
||||
jid = { version = "0.10.0", features = ["serde"] }
|
||||
confy = "0.5.1"
|
||||
|
22
flake.nix
22
flake.nix
@ -50,6 +50,26 @@
|
||||
|
||||
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
||||
};
|
||||
|
||||
packages.${system}.default = pkgs.rustPlatform.buildRustPackage {
|
||||
name = "Dergchat";
|
||||
src = pkgs.lib.cleanSource ./.;
|
||||
nativeBuildInputs = with pkgs; [
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = with pkgs; [
|
||||
rust-toolchain
|
||||
pkg-config
|
||||
openssl
|
||||
glibc
|
||||
gtk3
|
||||
webkitgtk_4_1
|
||||
];
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"xmpp-0.5.0" = "sha256-zRHI2qSCLgI/mrRrToRrDbvZYSa9vwxoDwghzNyN4mg=";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user