Compare commits

..

No commits in common. "ee048b66b112dbac0983d62bd62c59a17dfe775c" and "842651aafb958bb8f3c69611ff941ecf29c46e6d" have entirely different histories.

2 changed files with 14 additions and 4 deletions

View File

@ -5,17 +5,20 @@
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, darwin , darwin
, pkg-config
, perl
, openssl
, nix-update-script , nix-update-script
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "redlib"; pname = "redlib";
version = "0.35.1-unstable-2024-11-21"; version = "0.35.1-unstable-2024-11-19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "redlib-org"; owner = "redlib-org";
repo = "redlib"; repo = "redlib";
rev = "6be6f892a4eb159f5a27ce48f0ce615298071eac"; rev = "18efb8c714ad10e0082059e1d47e0f95686d04a7";
hash = "sha256-UyA/iAPTbnrI6rNe7u8swO2h8PkLV6s4XS90Jv19CQ8="; hash = "sha256-Kzh0nSGxSqr4c6EvshqHdvqYbqiKCRehf2ngAuj2fmw=";
}; };
patches = [ patches = [
@ -24,10 +27,17 @@ rustPlatform.buildRustPackage rec {
./no-hash.patch ./no-hash.patch
]; ];
cargoHash = "sha256-Uy6wQ0+6XHXyyVGJNg9vp85gn8mhqFUnZxYa7gS3emA="; cargoHash = "sha256-ZmIYTDfdMDkxT1doV5kMMjqIHQ/zhiY/ewd77RqRSMU=";
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security
] ++ lib.optionals stdenv.isLinux [
openssl
];
nativeBuildInputs = lib.optionals stdenv.isLinux [
pkg-config
perl
]; ];
checkFlags = [ checkFlags = [

Binary file not shown.