2025-01-15 06:00:12 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, boost, boehmgc, bison, meson, ninja, pkg-config
|
|
|
|
, libffi, readline, git }:
|
2022-10-05 07:23:50 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xs";
|
|
|
|
version = "unstable-2022-10-05";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TieDyedDevil";
|
|
|
|
repo = "XS";
|
|
|
|
rev = "789540c5f208b8e8f07fc81c3bec3d0ee47c6dea";
|
|
|
|
sha256 = "sha256-Yx6zWLZlnlckZyTljgTVCjCPtNfUbM+o4RfuOPpn8ZQ=";
|
|
|
|
};
|
|
|
|
|
2025-01-15 06:00:12 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
2022-10-05 07:23:50 +00:00
|
|
|
|
2025-01-15 06:00:12 +00:00
|
|
|
buildInputs = [ boost bison boehmgc libffi readline git ];
|
2022-10-05 07:23:50 +00:00
|
|
|
|
|
|
|
patches = [ ./update-build.patch ];
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs ./generators/*.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/TieDyedDevil/XS";
|
2025-01-15 06:00:12 +00:00
|
|
|
description =
|
|
|
|
"Extensible shell with functional semantics and conventional syntax";
|
2022-10-05 07:23:50 +00:00
|
|
|
|
|
|
|
# See doc/ANCENSTORS and doc/COPYING files for more details.
|
|
|
|
license = licenses.publicDomain;
|
|
|
|
};
|
|
|
|
}
|