about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/text/runiq/default.nix
blob: 7b1e99978a4501611ad793907aceaec37e9d605b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ fetchCrate, lib, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "runiq";
  version = "1.2.2";

  src = fetchCrate {
    inherit pname version;
    sha256 = "sha256-WPQgTQICZ0DFr+7D99UGMx+I78376IC6iIJ3tCsj0Js=";
  };

  cargoSha256 = "sha256-QKtrd690eoPXyd5CQg5/yAiTDk297y60XaUdoeFAe0c=";

  meta = with lib; {
    description = "An efficient way to filter duplicate lines from input, à la uniq";
    homepage = "https://github.com/whitfin/runiq";
    license = licenses.mit;
    maintainers = with maintainers; [ figsoda ];
  };
}