Revert "Update redlib"

This reverts commit 444e7048f9916d215913a1ea243f2c939015cab4.
This commit is contained in:
NullBite 2024-11-20 18:08:18 -05:00
parent 842651aafb
commit 92ad4149ba
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -5,20 +5,17 @@
, 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-19"; version = "0.35.1-unstable-2024-11-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "redlib-org"; owner = "redlib-org";
repo = "redlib"; repo = "redlib";
rev = "18efb8c714ad10e0082059e1d47e0f95686d04a7"; rev = "6c64ebd56b98f5616c2014e2e0567fa37791844c";
hash = "sha256-Kzh0nSGxSqr4c6EvshqHdvqYbqiKCRehf2ngAuj2fmw="; hash = "sha256-QXcjpIO1y6mi+4E2BC6O16TaLFfpcPcCHumuJBXmcoU=";
}; };
patches = [ patches = [
@ -27,17 +24,10 @@ rustPlatform.buildRustPackage rec {
./no-hash.patch ./no-hash.patch
]; ];
cargoHash = "sha256-ZmIYTDfdMDkxT1doV5kMMjqIHQ/zhiY/ewd77RqRSMU="; cargoHash = "sha256-tb+qTANios+dvNK775gqy0AmB5fuj5BhfYYYegnraEg=";
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 = [