Compare commits
3 commits
8791b08c4f
...
0b2ae19085
Author | SHA1 | Date | |
---|---|---|---|
0b2ae19085 | |||
1c63afc4dc | |||
f3196d6c9f |
3 changed files with 3868 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
/target
|
||||
private.rs
|
||||
result
|
||||
|
|
3810
Cargo.lock
generated
Normal file
3810
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
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