Merge pull request #289633 from marsam/ugrep-mainProgram

This commit is contained in:
Sandro 2024-02-22 21:20:06 +01:00 committed by GitHub
commit 01e52927ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,7 @@
, bzip3 , bzip3
, lz4 , lz4
, pcre2 , pcre2
, testers
, xz , xz
, zlib , zlib
, zstd , zstd
@ -35,6 +36,12 @@ stdenv.mkDerivation (finalAttrs: {
zstd zstd
]; ];
passthru.tests = {
version = testers.testVersion {
package = finalAttrs.finalPackage;
};
};
meta = with lib; { meta = with lib; {
description = "Ultra fast grep with interactive query UI"; description = "Ultra fast grep with interactive query UI";
homepage = "https://github.com/Genivia/ugrep"; homepage = "https://github.com/Genivia/ugrep";
@ -42,5 +49,6 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with maintainers; [ numkem mikaelfangel ]; maintainers = with maintainers; [ numkem mikaelfangel ];
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.all; platforms = platforms.all;
mainProgram = "ug";
}; };
}) })