mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 09:00:51 +00:00
regexplain: init at 1.0.0 (#539929)
This commit is contained in:
@@ -26304,6 +26304,12 @@
|
||||
github = "snpschaaf";
|
||||
githubId = 105843013;
|
||||
};
|
||||
sntx = {
|
||||
name = "sntx";
|
||||
email = "sntx@sntx.space";
|
||||
github = "Sntx626";
|
||||
githubId = 48636286;
|
||||
};
|
||||
snu = {
|
||||
email = "kabelfrickler@gmail.com";
|
||||
github = "snue";
|
||||
|
||||
29
pkgs/by-name/re/regexplain/package.nix
Normal file
29
pkgs/by-name/re/regexplain/package.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
rustPlatform,
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "regexplain";
|
||||
version = "1.0.0";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kapilpokhrel";
|
||||
repo = "regexplain";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-UtwRDFUjpgxgY+geAX4xmTYGgH897tKqxkIShzQEhWA=";
|
||||
};
|
||||
cargoHash = "sha256-6kNiF1ZEl25UuGoTrIph0NhJg422OW/dKtgOSYV7zxo=";
|
||||
|
||||
meta = {
|
||||
description = "A terminal UI for explaining and visualizing regular expressions, kindof like regex101.";
|
||||
homepage = "https://github.com/kapilpokhrel/regexplain";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
sntx
|
||||
];
|
||||
mainProgram = "regexplain";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user