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 05:20:00 +01:00
, darwin
, fetchzip
, ocamlPackages
2022-10-25 07:29:44 +01:00
, soupault
2024-04-15 05:20:00 +01:00
, stdenv
2022-10-25 07:29:44 +01:00
, testers
}:
2021-08-16 11:12:57 +01:00
2024-04-22 06:33:00 +01:00
ocamlPackages.buildDunePackage rec {
2021-08-16 11:12:57 +01:00
pname = "soupault";
2024-04-22 06:33:00 +01:00
version = "4.10.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-04-22 06:33:00 +01:00
hash = "sha256-mkbRWw4Qj7pk2MQJERA9cAuC8DXD/fOShVXz2zPtXZ4=";
2021-08-16 11:12:57 +01:00
};
2024-04-15 05:20:00 +01:00
nativeBuildInputs = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ darwin.sigtool ];
2021-08-16 11:12:57 +01:00
buildInputs = with ocamlPackages; [
base64
camomile
2021-08-16 11:12:57 +01:00
containers
2023-09-19 18:26:17 +01:00
csv
digestif
2021-08-16 11:12:57 +01:00
ezjsonm
fileutils
fmt
jingoo
lambdasoup
lua-ml
logs
markup
2021-08-16 11:12:57 +01:00
odate
otoml
re
spelll
tsort
yaml
];
2022-10-25 07:29:44 +01:00
passthru.tests.version = testers.testVersion {
package = soupault;
command = "soupault --version-number";
};
meta = {
2021-08-16 11:12:57 +01: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 18:26:17 +01:00
mainProgram = "soupault";
2021-08-16 11:12:57 +01:00
};
}