diff --git a/pkgs/development/tools/misc/regex-cli/default.nix b/pkgs/development/tools/misc/regex-cli/default.nix new file mode 100644 index 000000000000..e6bac18d98cb --- /dev/null +++ b/pkgs/development/tools/misc/regex-cli/default.nix @@ -0,0 +1,23 @@ +{ lib +, rustPlatform +, fetchCrate +}: + +rustPlatform.buildRustPackage rec { + pname = "regex-cli"; + version = "0.1.0"; + + src = fetchCrate { + inherit pname version; + hash = "sha256-4l12Eaab1G3SP3Srxt3UR9MCRlLm0KDPx/Z2rQpSQR0="; + }; + + cargoHash = "sha256-fAIYWzfzq/VuBc684SG7p365uudX9M/TtVdMahyrmdk="; + + meta = with lib; { + description = "A command line tool for debugging, ad hoc benchmarking and generating regular expressions"; + homepage = "https://github.com/rust-lang/regex/tree/master/regex-cli"; + license = with licenses; [ asl20 mit ]; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c65b5d6e798f..c5b622c270c1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19509,6 +19509,8 @@ with pkgs; regclient = callPackage ../development/tools/regclient { }; inherit (regclient) regbot regctl regsync; + regex-cli = callPackage ../development/tools/misc/regex-cli { }; + reno = callPackage ../development/tools/reno { }; re2c = callPackage ../development/tools/parsing/re2c { };