soupault: 4.6.0 → 4.7.0

This commit is contained in:
toastal 2023-09-20 00:26:17 +07:00 committed by Vincent Laporte
parent d38485921a
commit 2c9683445a

View File

@ -9,35 +9,34 @@
let
pname = "soupault";
version = "4.6.0";
version = "4.7.0";
in
ocamlPackages.buildDunePackage {
inherit pname version;
minimalOCamlVersion = "4.13";
duneVersion = "3";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "PataphysicalSociety";
repo = pname;
rev = version;
sha256 = "MblwVacfK9CfoO0TEND+bqdi7iQayBOJKKOhzE7oiVk=";
sha256 = "nwXyOwDUbkMnyHPrvCvmToyONdbg5kJm2mt5rWrB6HA=";
};
patches = lib.lists.optional
(lib.strings.versionAtLeast "2.0.0" ocamlPackages.camomile.version)
(fetchpatch {
name = "camomile-1_x";
url = "https://files.baturin.org/software/soupault/soupault-4.6.0-camomile-1.x.patch";
sha256 = "J5RGyLDDVRzf6MLLI+73lqClxoovcPD2ZFawk+f6cE4=";
url = "https://files.baturin.org/software/soupault/soupault-4.7.0-camomile-1.x.patch";
sha256 = "V7+OUjXqWtXwjUa35MlY9iyAlqOkst9Th7DgfDXkXZg=";
});
buildInputs = with ocamlPackages; [
base64
camomile
containers
csv
digestif
ezjsonm
fileutils
@ -66,5 +65,6 @@ ocamlPackages.buildDunePackage {
changelog = "https://codeberg.org/PataphysicalSociety/soupault/src/branch/main/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ toastal ];
mainProgram = "soupault";
};
}