2023-05-13 05:25:08 +00:00
|
|
|
{ lib, stdenv, fetchurl, buildPackages }:
|
2015-02-16 23:56:15 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-02 09:12:13 +00:00
|
|
|
pname = "mawk";
|
2023-07-13 06:58:53 +00:00
|
|
|
version = "1.3.4-20230525";
|
2015-02-16 23:56:15 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-11-04 11:05:42 +00:00
|
|
|
urls = [
|
2021-08-02 09:12:13 +00:00
|
|
|
"ftp://ftp.invisible-island.net/mawk/mawk-${version}.tgz"
|
|
|
|
"https://invisible-mirror.net/archives/mawk/mawk-${version}.tgz"
|
2017-11-04 11:05:42 +00:00
|
|
|
];
|
2023-07-13 06:58:53 +00:00
|
|
|
sha256 = "sha256-VjnRS7kSQ3Oz1/lX0rklrYrZZW1GISw/I9vKgQzJJp8=";
|
2015-02-16 23:56:15 +00:00
|
|
|
};
|
|
|
|
|
2023-05-13 05:25:08 +00:00
|
|
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-08-02 17:50:55 +00:00
|
|
|
description = "Interpreter for the AWK Programming Language";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://invisible-island.net/mawk/mawk.html";
|
2016-08-02 17:50:55 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|