Commit 27e68805 authored by Dominik Xaver Hörl's avatar Dominik Xaver Hörl Committed by Alyssa Ross
Browse files

runiq: 2.0.0 -> 2.0.0-unstable-2024-08-19

Build from git to allow compiling with rust 1.80, until there is an upstream release containing a642926f6ec09d4faeebebb563d4aed89e0d36fb.
parent 93674b2d
Loading
Loading
Loading
Loading
+1685 −0

File added.

Preview size limit exceeded, changes collapsed.

+12 −6
Original line number Diff line number Diff line
{ lib, rustPlatform, fetchCrate, stdenv, darwin }:
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:

rustPlatform.buildRustPackage rec {
  pname = "runiq";
  version = "2.0.0";
  version = "2.0.0-unstable-2024-08-19";

  src = fetchCrate {
    inherit pname version;
    hash = "sha256-qcgPuJOpK2fCsHAgzoIKF7upb9B3ySIZkpu9xf4JnCc=";
  src = fetchFromGitHub {
    owner = "whitfin";
    repo = "runiq";
    rev = "a642926f6ec09d4faeebebb563d4aed89e0d36fb";
    hash = "sha256-DWP0kbTjXlyUI/+bHgom9/XJ2XW/BJEU4xvIisPVug0=";
  };

  cargoHash = "sha256-WSMV0GNKNckN9uSPN647iDloGkNtaKcrZbeyglUappc=";
  cargoLock.lockFile = ./Cargo.lock;

  postPatch = ''
    ln -s ${./Cargo.lock} Cargo.lock
  '';

  buildInputs = lib.optionals stdenv.isDarwin [
    darwin.apple_sdk.frameworks.Security