Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ fetchCrate, lib, rustPlatform }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "runiq"; 5 version = "1.2.2"; 6 7 src = fetchCrate { 8 inherit pname version; 9 sha256 = "sha256-WPQgTQICZ0DFr+7D99UGMx+I78376IC6iIJ3tCsj0Js="; 10 }; 11 12 cargoSha256 = "sha256-QKtrd690eoPXyd5CQg5/yAiTDk297y60XaUdoeFAe0c="; 13 14 meta = with lib; { 15 description = "An efficient way to filter duplicate lines from input, à la uniq"; 16 homepage = "https://github.com/whitfin/runiq"; 17 license = licenses.mit; 18 maintainers = with maintainers; [ figsoda ]; 19 }; 20}