Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
852 B
Nix
37 lines
852 B
Nix
{
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
fetchpatch,
|
|
lib,
|
|
}:
|
|
|
|
let
|
|
pname = "camlgpc";
|
|
version = "1.2";
|
|
in
|
|
buildDunePackage {
|
|
inherit pname version;
|
|
src = fetchFromGitHub {
|
|
owner = "johnwhitington";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-+Dx8BuRlxb8xh41jHskrNcKGV/HgedauLt1vo1tADHw=";
|
|
};
|
|
patches = [
|
|
(fetchpatch {
|
|
name = "camlgpc-pr-5-switch-to-dune";
|
|
url = "https://github.com/johnwhitington/camlgpc/pull/5.diff";
|
|
hash = "sha256-znm+mX60RwYNCYXwm9HYCO8BRbzUM0Bm6dI1f1FzncA=";
|
|
})
|
|
];
|
|
propagatedBuildInputs = [ ];
|
|
doCheck = true;
|
|
checkInputs = [ ];
|
|
meta = {
|
|
description = "OCaml interface to Alan Murta's General Polygon Clipper";
|
|
homepage = "https://github.com/johnwhitington/camlgpc";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vog ];
|
|
};
|
|
}
|