mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
- Switch from 'rev' to 'tag' attribute in fetchFromGitHub/fetchgit calls - Update 'sha256' to 'hash' for consistency - Convert to finalAttrs pattern where applicable - Replace 'with lib' with explicit lib prefixes - Use 'replace-fail' variants for substitutions - Update python3.pkgs to python3Packages pattern - Switch propagatedBuildInputs to dependencies for Python packages - Fix .pc file meta attribute interpolation Affected packages: autotrash, banana-vera, cano, cista, coost, cppi, criterion, diagrams-as-code, filterpath, fzf-make, gbsplay, gfold, git-pr, git-standup, hexedit, hueadm, ksh, liboqs, libowlevelzs, libsv, mini-calc, nph, physac, ps_mem, ragnarwm, rasm, raygui, sxcs, toolong, tuifimanager, unipicker, ustr, viu, xml-tooling-c, yyjson
61 lines
1.3 KiB
Nix
61 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
meson,
|
|
ninja,
|
|
fetchFromGitHub,
|
|
which,
|
|
python3,
|
|
fetchpatch,
|
|
libiconv,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "ksh";
|
|
version = "2020.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "att";
|
|
repo = "ast";
|
|
hash = "sha256-sphfY/hZ028722clJDBiQn8fOrDOnJbTegPgCy34vTE=";
|
|
tag = finalAttrs.version;
|
|
};
|
|
|
|
patches = [
|
|
(fetchpatch {
|
|
url = "https://github.com/att/ast/commit/11983a71f5e29df578b7e2184400728b4e3f451d.patch";
|
|
hash = "sha256-e45HZPnFyQ6YVyFzcA74w+Jhk9BO7bDkfReLTRgqJdk=";
|
|
})
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
which
|
|
python3
|
|
];
|
|
|
|
buildInputs = [ libiconv ];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = {
|
|
description = "KornShell Command And Programming Language";
|
|
longDescription = ''
|
|
The KornShell language was designed and developed by David G. Korn at
|
|
AT&T Bell Laboratories. It is an interactive command language that
|
|
provides access to the UNIX system and to many other systems, on the
|
|
many different computers and workstations on which it is implemented.
|
|
'';
|
|
homepage = "https://github.com/att/ast";
|
|
license = lib.licenses.cpl10;
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
mainProgram = "ksh";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
|
|
passthru = {
|
|
shellPath = "/bin/ksh";
|
|
};
|
|
})
|