nixpkgs/pkgs/tools/text/mawk/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
715 B
Nix
Raw Normal View History

2023-05-13 06:25:08 +01:00
{ lib, stdenv, fetchurl, buildPackages }:
stdenv.mkDerivation rec {
pname = "mawk";
2024-01-25 21:12:34 +00:00
version = "1.3.4-20240123";
src = fetchurl {
2017-11-04 11:05:42 +00:00
urls = [
"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
];
2024-01-25 21:12:34 +00:00
sha256 = "sha256-qOMZqDdEsfH7aYjfoYnWGIf4ZukUDMmknrADsrBlXog=";
};
2023-05-13 06:25:08 +01:00
depsBuildBuild = [ buildPackages.stdenv.cc ];
meta = with lib; {
description = "Interpreter for the AWK Programming Language";
mainProgram = "mawk";
homepage = "https://invisible-island.net/mawk/mawk.html";
2024-04-26 12:35:31 +01:00
license = licenses.gpl2Only;
maintainers = with maintainers; [ ehmry ];
platforms = with platforms; unix;
};
}