dynein: 0.2.1 -> 0.3.0 (#379242)

This commit is contained in:
Peder Bergebakken Sundt
2025-02-17 02:54:08 +01:00
committed by GitHub
@@ -1,6 +1,7 @@
{
fetchFromGitHub,
lib,
cmake,
openssl,
pkg-config,
rustPlatform,
@@ -8,28 +9,30 @@
rustPlatform.buildRustPackage rec {
pname = "dynein";
version = "0.2.1";
version = "0.3.0";
src = fetchFromGitHub {
owner = "awslabs";
repo = "dynein";
rev = "v${version}";
hash = "sha256-QhasTFGOFOjzNKdQtA+eBhKy51O4dFt6vpeIAIOM2rQ=";
hash = "sha256-GU/zZ7IJPfpRbrWjrVwPDSFjFfMLoG/c8DDWlN6nZ94=";
};
# Use system openssl.
OPENSSL_NO_VENDOR = 1;
useFetchCargoVendor = true;
cargoHash = "sha256-rOfJz5G6kO1/IM6M6dZJTJmzJhx/450dIPvAVBHUp5o=";
cargoHash = "sha256-PA7Hvn+vYBD80thkIamwOhw4lJWAmU/TQBnwJro4r7c=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
cmake
];
preBuild = ''
export CMAKE=${lib.getDev cmake}/bin/cmake
export OPENSSL_DIR=${lib.getDev openssl}
export OPENSSL_LIB_DIR=${lib.getLib openssl}/lib
'';