Commit 2ab60c5d authored by Muhammad Falak R Wani's avatar Muhammad Falak R Wani
Browse files
parent 4ea61276
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -6,16 +6,16 @@

rustPlatform.buildRustPackage rec {
  pname = "grex";
  version = "1.4.2";
  version = "1.4.4";

  src = fetchFromGitHub {
    owner = "pemistahl";
    repo = pname;
    repo = "grex";
    rev = "v${version}";
    sha256 = "sha256-kbrBnpoVeXSgmIqElpfAnoSutYwsnFaxFJpRsJPUE8k=";
    hash = "sha256-ef1eUxeCznIgXLoywwJmnLkTGdW1AmGwCin9DLU9kAs=";
  };

  cargoSha256 = "sha256-WO8h5JUEiCpfsROQoRZj7I6em6REcJ2PfmoGN1zKRPg=";
  cargoHash = "sha256-XLH+fS3fwRcWmVOzTjUacV010N37Oofs9Tbixdka1qY=";

  buildInputs = lib.optionals stdenv.isDarwin [ Security ];

@@ -27,7 +27,9 @@ rustPlatform.buildRustPackage rec {
  meta = with lib; {
    description = "A command-line tool for generating regular expressions from user-provided test cases";
    homepage = "https://github.com/pemistahl/grex";
    changelog = "https://github.com/pemistahl/grex/releases/tag/v${version}";
    license = licenses.asl20;
    mainProgram = "grex";
    maintainers = with maintainers; [ SuperSandro2000 mfrw ];
  };
}