diff options
author | toastal <toastal@posteo.net> | 2024-03-19 21:56:03 +0700 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2024-03-20 16:42:45 +0100 |
commit | 5393cc5dc278c5595036025051003084a6d1336e (patch) | |
tree | b8fa8173be20d55520f1f6faea641a92d1f2bdd1 /pkgs/by-name/so | |
parent | bde81af2418c785a93160c7113b368d217c00caa (diff) | |
download | nixlib-5393cc5dc278c5595036025051003084a6d1336e.tar nixlib-5393cc5dc278c5595036025051003084a6d1336e.tar.gz nixlib-5393cc5dc278c5595036025051003084a6d1336e.tar.bz2 nixlib-5393cc5dc278c5595036025051003084a6d1336e.tar.lz nixlib-5393cc5dc278c5595036025051003084a6d1336e.tar.xz nixlib-5393cc5dc278c5595036025051003084a6d1336e.tar.zst nixlib-5393cc5dc278c5595036025051003084a6d1336e.zip |
soupault: mv to by-name
Diffstat (limited to 'pkgs/by-name/so')
-rw-r--r-- | pkgs/by-name/so/soupault/package.nix | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/pkgs/by-name/so/soupault/package.nix b/pkgs/by-name/so/soupault/package.nix new file mode 100644 index 000000000000..639af4136729 --- /dev/null +++ b/pkgs/by-name/so/soupault/package.nix @@ -0,0 +1,61 @@ +{ lib +, fetchzip +, ocamlPackages +, soupault +, testers +}: + +let + pname = "soupault"; + + 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" + ]; + hash = "sha256-vGTJUbAeYs/EYFykNSmCc4c9G66/Lz3BsUYnZQ8feFo="; + }; + + buildInputs = with ocamlPackages; [ + base64 + camomile + containers + csv + digestif + ezjsonm + fileutils + fmt + jingoo + lambdasoup + lua-ml + logs + markup + odate + otoml + re + spelll + tsort + yaml + ]; + + passthru.tests.version = testers.testVersion { + package = soupault; + command = "soupault --version-number"; + }; + + meta = { + 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 ]; + mainProgram = "soupault"; + }; +} |