2023-05-24 13:37:59 +00:00
|
|
|
{ lib, stdenv, fetchurl, buildPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-09-18 10:52:07 +00:00
|
|
|
pname = "mawk";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "1.3.4-20240123";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [
|
2021-09-18 10:52:07 +00:00
|
|
|
"ftp://ftp.invisible-island.net/mawk/mawk-${version}.tgz"
|
|
|
|
"https://invisible-mirror.net/archives/mawk/mawk-${version}.tgz"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
2024-02-07 01:22:34 +00:00
|
|
|
sha256 = "sha256-qOMZqDdEsfH7aYjfoYnWGIf4ZukUDMmknrADsrBlXog=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Interpreter for the AWK Programming Language";
|
|
|
|
homepage = "https://invisible-island.net/mawk/mawk.html";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|