nixpkgs/pkgs/by-name/sn/snx-rs/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
884 B
Nix
Raw Normal View History

2024-05-25 10:43:53 +00:00
{ fetchFromGitHub, rustPlatform, lib, pkg-config, openssl, glib, atk, gtk3, libsoup, webkitgtk_4_1 }:
rustPlatform.buildRustPackage {
pname = "snx-rs";
2024-06-17 07:30:48 +00:00
version = "2.2.3";
2024-05-25 10:43:53 +00:00
src = fetchFromGitHub {
owner = "ancwrd1";
repo = "snx-rs";
2024-06-17 07:30:48 +00:00
rev = "v2.2.3";
hash = "sha256-tBl67uDeYVmVBwi8NQVclfFQ0Sj1dl+hR8Jct1iE2LI=";
2024-05-25 10:43:53 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl glib atk gtk3 libsoup webkitgtk_4_1 ];
checkFlags = [
"--skip=platform::linux::net::tests::test_default_ip"
];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
2024-06-17 07:30:48 +00:00
"isakmp-0.1.0" = "sha256-6v5xhkt9iaQg3Eh8S1tXW55oLv4YFDYvY0cfsepMuIM=";
2024-05-25 10:43:53 +00:00
};
};
meta = {
description = "Open source Linux client for Checkpoint VPN tunnels";
homepage = "https://github.com/ancwrd1/snx-rs";
2024-06-03 17:41:28 +00:00
license = lib.licenses.agpl3Plus;
2024-06-21 11:41:50 +00:00
maintainers = [ ];
2024-05-25 10:43:53 +00:00
};
}