depot/third_party/nixpkgs/pkgs/by-name/rg/rgxg/package.nix

23 lines
568 B
Nix

{
lib,
stdenv,
fetchzip,
}:
stdenv.mkDerivation rec {
pname = "rgxg";
version = "0.1.2";
src = fetchzip {
url = "https://github.com/rgxg/rgxg/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "050jxc3qhfrm9fdbzd67hlsqlp4qk1fa20q1g2v919sh7s6v77si";
};
meta = with lib; {
description = "C library and a command-line tool to generate (extended) regular expressions";
mainProgram = "rgxg";
license = licenses.zlib;
maintainers = with maintainers; [ hloeffler ];
homepage = "https://rgxg.github.io/";
};
}