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.2 KiB
Nix
Raw Normal View History

{ lib
, fetchzip
, ocamlPackages
2022-10-25 06:29:44 +00:00
, soupault
, testers
}:
2021-08-16 10:12:57 +00:00
let
2021-08-16 10:12:57 +00:00
pname = "soupault";
2024-03-19 14:25:01 +00:00
version = "4.9.0";
in
ocamlPackages.buildDunePackage {
inherit pname version;
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-03-19 14:25:01 +00:00
hash = "sha256-vGTJUbAeYs/EYFykNSmCc4c9G66/Lz3BsUYnZQ8feFo=";
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 = "A 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
};
}