snx-rs: 3.1.2 -> 4.4.1 (#413854)

authored by kirillrdy and committed by GitHub 62baba46 2bba56ab

+17 -10
+17 -10
pkgs/by-name/sn/snx-rs/package.nix
··· 1 { 2 fetchFromGitHub, 3 glib, 4 - gtk3, 5 iproute2, 6 kdePackages, 7 lib, ··· 14 pkg-config, 15 rustPlatform, 16 webkitgtk_4_1, 17 nix-update-script, 18 }: 19 rustPlatform.buildRustPackage rec { 20 pname = "snx-rs"; 21 - version = "3.1.2"; 22 23 src = fetchFromGitHub { 24 owner = "ancwrd1"; 25 repo = "snx-rs"; 26 tag = "v${version}"; 27 - hash = "sha256-bLuIXd2pqqiyEP+lDTJYVDZkRZ0HcDkKFZd/qlpuf98="; 28 }; 29 30 passthru.updateScript = nix-update-script { }; ··· 36 37 buildInputs = [ 38 glib 39 - gtk3 40 kdePackages.kstatusnotifieritem 41 libappindicator 42 libappindicator-gtk2 ··· 45 libsoup_3 46 openssl 47 webkitgtk_4_1 48 ]; 49 50 - postPatch = '' 51 - substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \ 52 - --replace-fail "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1" 53 - ''; 54 - 55 checkFlags = [ 56 "--skip=platform::linux::net::tests::test_default_ip" 57 ]; 58 59 useFetchCargoVendor = true; 60 - cargoHash = "sha256-E5OJVf9CkLn5mFtk4Yacs2OIvAuIw0idSs7QuTNvfgU="; 61 62 meta = { 63 description = "Open source Linux client for Checkpoint VPN tunnels";
··· 1 { 2 fetchFromGitHub, 3 glib, 4 + gtk4, 5 iproute2, 6 kdePackages, 7 lib, ··· 14 pkg-config, 15 rustPlatform, 16 webkitgtk_4_1, 17 + graphene, 18 nix-update-script, 19 + versionCheckHook, 20 }: 21 rustPlatform.buildRustPackage rec { 22 pname = "snx-rs"; 23 + version = "4.4.1"; 24 25 src = fetchFromGitHub { 26 owner = "ancwrd1"; 27 repo = "snx-rs"; 28 tag = "v${version}"; 29 + hash = "sha256-Juv38ALXf1nMeokBH7Z+39oIscXW7S+OxdD/ZSNs49U="; 30 }; 31 32 passthru.updateScript = nix-update-script { }; ··· 38 39 buildInputs = [ 40 glib 41 + gtk4 42 kdePackages.kstatusnotifieritem 43 libappindicator 44 libappindicator-gtk2 ··· 47 libsoup_3 48 openssl 49 webkitgtk_4_1 50 + graphene 51 ]; 52 53 checkFlags = [ 54 "--skip=platform::linux::net::tests::test_default_ip" 55 + "--skip=platform::linux::tests::test_xfrm_check" 56 + ]; 57 + 58 + nativeInstallCheckInputs = [ 59 + versionCheckHook 60 ]; 61 62 useFetchCargoVendor = true; 63 + cargoHash = "sha256-NcoTdu/CQRu0RuZjlngP8lTPaomEiPTcfn2hAt+YjwA="; 64 + 65 + doInstallCheck = true; 66 + versionCheckProgram = "${placeholder "out"}/bin/snx-rs"; 67 + versionCheckProgramArg = "--version"; 68 69 meta = { 70 description = "Open source Linux client for Checkpoint VPN tunnels";