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