mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
mawk: add update script
This commit is contained in:
parent
9aace02bfa
commit
bca63da594
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user