mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
26 lines
711 B
Nix
26 lines
711 B
Nix
{ lib, stdenv, fetchurl, buildPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mawk";
|
|
version = "1.3.4-20240123";
|
|
|
|
src = fetchurl {
|
|
urls = [
|
|
"ftp://ftp.invisible-island.net/mawk/mawk-${version}.tgz"
|
|
"https://invisible-mirror.net/archives/mawk/mawk-${version}.tgz"
|
|
];
|
|
sha256 = "sha256-qOMZqDdEsfH7aYjfoYnWGIf4ZukUDMmknrADsrBlXog=";
|
|
};
|
|
|
|
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.gpl2;
|
|
maintainers = with maintainers; [ ehmry ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|