1 { lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:
3 rustPlatform.buildRustPackage rec {
5 version = "2.0.0-unstable-2024-08-19";
7 src = fetchFromGitHub {
10 rev = "a642926f6ec09d4faeebebb563d4aed89e0d36fb";
11 hash = "sha256-DWP0kbTjXlyUI/+bHgom9/XJ2XW/BJEU4xvIisPVug0=";
14 cargoLock.lockFile = ./Cargo.lock;
17 ln -s ${./Cargo.lock} Cargo.lock
20 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
21 darwin.apple_sdk.frameworks.Security
25 description = "Efficient way to filter duplicate lines from input, à la uniq";
26 mainProgram = "runiq";
27 homepage = "https://github.com/whitfin/runiq";
28 license = licenses.mit;
29 maintainers = with maintainers; [ figsoda ];