mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
26 lines
715 B
Nix
26 lines
715 B
Nix
{ lib, stdenv, fetchurl, buildPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mawk";
|
|
version = "1.3.4-20240622";
|
|
|
|
src = fetchurl {
|
|
urls = [
|
|
"ftp://ftp.invisible-island.net/mawk/mawk-${version}.tgz"
|
|
"https://invisible-mirror.net/archives/mawk/mawk-${version}.tgz"
|
|
];
|
|
sha256 = "sha256-TpF+h6ep+692mVeEpLC13A3ZVLl30JgwMPePagexp2U=";
|
|
};
|
|
|
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
|
|
|
meta = with lib; {
|
|
description = "Interpreter for the AWK Programming Language";
|
|
mainProgram = "mawk";
|
|
homepage = "https://invisible-island.net/mawk/mawk.html";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ ehmry ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|