about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/misc/regex-cli/default.nix
blob: e6bac18d98cb69b3a7e893c91598d33f7d959666 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 ];
  };
}