mawk: add update script

This commit is contained in:
Anderson Torres 2024-08-24 10:59:58 -03:00
parent 9aace02bfa
commit bca63da594

View File

@ -1,6 +1,7 @@
{
lib,
buildPackages,
directoryListingUpdater,
fetchurl,
stdenv,
testers,
@ -25,6 +26,10 @@ stdenv.mkDerivation (finalAttrs: {
package = finalAttrs.finalPackage;
command = "mawk -W version";
};
updateScript = directoryListingUpdater {
inherit (finalAttrs) pname version;
url = "https://invisible-island.net/archives/mawk/";
};
};
meta = {