Unverified Commit 307035ad authored by Robin Gloster's avatar Robin Gloster Committed by GitHub
Browse files

Merge pull request #314550 from lheckemann/snx-rs

snx-rs: init at 2.2.0
parents 9a63f68c fd87dea3
Loading
Loading
Loading
Loading
+3983 −0

File added.

Preview size limit exceeded, changes collapsed.

+33 −0
Original line number Diff line number Diff line
{ fetchFromGitHub, rustPlatform, lib, pkg-config, openssl, glib, atk, gtk3, libsoup, webkitgtk_4_1 }:
rustPlatform.buildRustPackage {
  pname = "snx-rs";
  version = "2.2.0";

  src = fetchFromGitHub {
    owner = "ancwrd1";
    repo = "snx-rs";
    rev = "v2.2.0";
    hash = "sha256-9aBJM20+G1U2NuJXBmax50o3M/lwRpLeqdcHCA28iAw=";
  };

  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 = {
      "isakmp-0.1.0" = "sha256-Gk0/tyIQ62kH6ZSW6ov8SMVR2UBEWkz8HfqeWjSXmlY=";
    };
  };

  meta = {
    description = "Open source Linux client for Checkpoint VPN tunnels";
    homepage = "https://github.com/ancwrd1/snx-rs";
    license = lib.licenses.agpl3Plus;
    maintainers = [ lib.maintainers.lheckemann ];
  };
}