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

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

25 lines
685 B
Nix
Raw Normal View History

2023-05-13 05:25:08 +00:00
{ lib, stdenv, fetchurl, buildPackages }:
stdenv.mkDerivation rec {
pname = "mawk";
version = "1.3.4-20230525";
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
];
sha256 = "sha256-VjnRS7kSQ3Oz1/lX0rklrYrZZW1GISw/I9vKgQzJJp8=";
};
2023-05-13 05:25:08 +00:00
depsBuildBuild = [ buildPackages.stdenv.cc ];
meta = with lib; {
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;
};
}