3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #238422 from toastal/soupault-4.6.0

soupault: 4.4.0 → 4.6.0
This commit is contained in:
Weijia Wang 2023-06-20 01:38:17 +03:00 committed by GitHub
commit 556adf1247
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
{ lib
, fetchFromGitea
, fetchpatch
, ocamlPackages
, soupault
, testers
@ -8,7 +9,7 @@
let
pname = "soupault";
version = "4.4.0";
version = "4.6.0";
in
ocamlPackages.buildDunePackage {
inherit pname version;
@ -22,9 +23,17 @@ ocamlPackages.buildDunePackage {
owner = "PataphysicalSociety";
repo = pname;
rev = version;
sha256 = "sha256-M4gaPxBxQ1Bk2C3BwvobYHyaWKIZgQ6buZ6S5wBlvPg=";
sha256 = "MblwVacfK9CfoO0TEND+bqdi7iQayBOJKKOhzE7oiVk=";
};
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=";
});
buildInputs = with ocamlPackages; [
base64
camomile