Merge pull request #241771 from figsoda/regex

This commit is contained in:
figsoda 2023-07-07 09:33:45 -04:00 committed by GitHub
commit fcadcd9535
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -19516,6 +19516,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 { };