diff --git a/pkgs/artem.nix b/pkgs/artem.nix index d59c1ae7..25d840b3 100644 --- a/pkgs/artem.nix +++ b/pkgs/artem.nix @@ -1,17 +1,27 @@ -{ stdenv, lib, fetchFromGitHub, rustPlatform }: +{ stdenv, lib, fetchFromGitHub, rustPlatform, perl, openssl, pkg-config }: rustPlatform.buildRustPackage rec { pname = "artem"; - version = "1.0.3"; + version = "1.1.5"; src = fetchFromGitHub { owner = "FineFindus"; repo = pname; rev = "v${version}"; - sha256 = "sha256-1unGpJA5SXVj+uZAXwiQyY9dYo3UkiX0MG+YYPbA8ac="; + sha256 = "sha256-8BP5Flst+rM7T1Jp1dBsZTYOYKm8TyanxYvRH18aXck="; }; - cargoSha256 = "sha256-PBJU78j7YlNi0YQ9+LJafdHiCXXKsP43wHTIUZG3Zgs="; + cargoSha256 = "sha256-n2NOWrgcMVHpNCHL7r8+Kl1e01XYadaNM7UdE8fQo1U="; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ perl openssl ]; + OPENSSL_NO_VENDOR = 1; + + # These all requires network access. + checkFlags = [ + "--skip url_input" + "--skip full_file_compare_url" + ]; meta = with lib; { homepage = "https://github.com/FineFindus/artem";