Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 24 lines 647 B view raw
1{ lib 2, rustPlatform 3, fetchCrate 4}: 5 6rustPlatform.buildRustPackage rec { 7 pname = "regex-cli"; 8 version = "0.2.0"; 9 10 src = fetchCrate { 11 inherit pname version; 12 hash = "sha256-Uo1y3L4l/Ik//NoBLsCqvQmC7ZGaSt0XzT1wDGCoU4U="; 13 }; 14 15 cargoHash = "sha256-O0KAY9XeP+LFcvAwO5SbF5yMHU1KZ77UdkAGAcx1hHc="; 16 17 meta = with lib; { 18 description = "A command line tool for debugging, ad hoc benchmarking and generating regular expressions"; 19 mainProgram = "regex-cli"; 20 homepage = "https://github.com/rust-lang/regex/tree/master/regex-cli"; 21 license = with licenses; [ asl20 mit ]; 22 maintainers = with maintainers; [ figsoda ]; 23 }; 24}