nixpkgs/pkgs/by-name/so/soupault/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

62 lines
1.3 KiB
Nix
Raw Normal View History

{ lib
2024-04-15 04:20:00 +00:00
, darwin
, fetchzip
, ocamlPackages
2022-10-25 06:29:44 +00:00
, soupault
2024-04-15 04:20:00 +00:00
, stdenv
2022-10-25 06:29:44 +00:00
, testers
}:
2021-08-16 10:12:57 +00:00
2024-04-22 05:33:00 +00:00
ocamlPackages.buildDunePackage rec {
2021-08-16 10:12:57 +00:00
pname = "soupault";
2024-09-07 14:34:26 +00:00
version = "4.11.0";
minimalOCamlVersion = "4.13";
src = fetchzip {
urls = [
"https://github.com/PataphysicalSociety/soupault/archive/${version}.tar.gz"
"https://codeberg.org/PataphysicalSociety/soupault/archive/${version}.tar.gz"
];
2024-09-07 14:34:26 +00:00
hash = "sha256-UABbrNNcNaN9NgtAjCs4HUoNXMaK4QvCuWERuEnMG6I=";
2021-08-16 10:12:57 +00:00
};
2024-04-15 04:20:00 +00:00
nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ darwin.sigtool ];
2021-08-16 10:12:57 +00:00
buildInputs = with ocamlPackages; [
base64
camomile
2021-08-16 10:12:57 +00:00
containers
2023-09-19 17:26:17 +00:00
csv
digestif
2021-08-16 10:12:57 +00:00
ezjsonm
fileutils
fmt
jingoo
lambdasoup
lua-ml
logs
markup
2021-08-16 10:12:57 +00:00
odate
otoml
re
spelll
tsort
yaml
];
2022-10-25 06:29:44 +00:00
passthru.tests.version = testers.testVersion {
package = soupault;
command = "soupault --version-number";
};
meta = {
2021-08-16 10:12:57 +00:00
description = "Tool that helps you create and manage static websites";
homepage = "https://soupault.app/";
changelog = "https://codeberg.org/PataphysicalSociety/soupault/src/branch/main/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ toastal ];
2023-09-19 17:26:17 +00:00
mainProgram = "soupault";
2021-08-16 10:12:57 +00:00
};
}