9 version = "0.9.5-alpha";
15 src = fetchFromGitHub {
18 rev = "refs/tags/v${version}";
19 sha256 = "sha256-Cz+XDJmdp+utzwm1c7ThTNS6kfNF6r4B16tnGQSCVMc=";
24 python312Packages.pybind11
27 makeFlags = [ "all" ];
29 # remove darwin-only linker flag on linux
30 postPatch = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
31 substituteInPlace scripts/pybind.sh \
32 --replace-fail " -undefined dynamic_lookup" ""
37 mkdir -p $out/bin $out/lib
38 cp build/almo $out/bin
44 description = "ALMO is markdown parser and static site generator";
45 license = lib.licenses.mit;
46 platforms = lib.platforms.all;
47 homepage = "https://github.com/abap34/almo";
48 maintainers = with lib.maintainers; [ momeemt ];