From 5c731712f2e9d60d36babe1f5494fd6e2630970c Mon Sep 17 00:00:00 2001 From: figsoda Date: Sun, 23 Jul 2023 11:26:49 -0400 Subject: [PATCH] artem: 1.2.1 -> 2.0.0 Diff: https://github.com/finefindus/artem/compare/v1.2.1...v2.0.0 Changelog: https://github.com/finefindus/artem/blob/v2.0.0/CHANGELOG.md --- pkgs/applications/graphics/artem/default.nix | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/graphics/artem/default.nix b/pkgs/applications/graphics/artem/default.nix index 1662f65a9193..b98e7a4fb405 100644 --- a/pkgs/applications/graphics/artem/default.nix +++ b/pkgs/applications/graphics/artem/default.nix @@ -2,28 +2,30 @@ , rustPlatform , fetchFromGitHub , installShellFiles -, pkg-config -, openssl +, stdenv +, darwin }: rustPlatform.buildRustPackage rec { pname = "artem"; - version = "1.2.1"; + version = "2.0.0"; src = fetchFromGitHub { owner = "finefindus"; repo = pname; rev = "v${version}"; - sha256 = "sha256-T652cdKVZqoZ+EwXmTSs9x+ftjvWOELjy37trCP7V+0="; + hash = "sha256-liYZloaXN9doNyPO76iCaiZO9ZkNGBm+BxxNX87ZqBM="; }; - cargoSha256 = "sha256-2LXpvAbkpk2sJHZJvytwLYksZK4coVYyKvuNRiDK0Gg="; + cargoHash = "sha256-fTAuh4jbfNpFaEu1X0LwVA30ghQ6mh5/Afap7gUjzMc="; - nativeBuildInputs = [ installShellFiles pkg-config ]; + nativeBuildInputs = [ + installShellFiles + ]; - buildInputs = [ openssl ]; - - OPENSSL_NO_VENDOR = 1; + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Security + ]; checkFlags = [ # require internet access