nixpkgs/pkgs/tools/text/runiq/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
681 B
Nix
Raw Normal View History

2024-01-08 07:39:52 +00:00
{ lib, rustPlatform, fetchCrate, stdenv, darwin }:
2021-08-25 21:12:29 +00:00
rustPlatform.buildRustPackage rec {
pname = "runiq";
2024-01-06 06:49:35 +00:00
version = "2.0.0";
2021-08-25 21:12:29 +00:00
src = fetchCrate {
inherit pname version;
hash = "sha256-qcgPuJOpK2fCsHAgzoIKF7upb9B3ySIZkpu9xf4JnCc=";
2021-08-25 21:12:29 +00:00
};
2024-01-06 06:49:35 +00:00
cargoHash = "sha256-WSMV0GNKNckN9uSPN647iDloGkNtaKcrZbeyglUappc=";
2021-08-25 21:12:29 +00:00
2024-01-08 07:39:52 +00:00
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
2021-08-25 21:12:29 +00:00
meta = with lib; {
description = "Efficient way to filter duplicate lines from input, à la uniq";
mainProgram = "runiq";
2021-08-25 21:12:29 +00:00
homepage = "https://github.com/whitfin/runiq";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}