ocamlPackages.camlgpc: init at 1.2

authored by

Volker Diels-Grabsch and committed by
Vincent Laporte
8b3896f8 492dcb97

+38
+36
pkgs/development/ocaml-modules/camlgpc/default.nix
···
··· 1 + { 2 + buildDunePackage, 3 + fetchFromGitHub, 4 + fetchpatch, 5 + lib, 6 + }: 7 + 8 + let 9 + pname = "camlgpc"; 10 + version = "1.2"; 11 + in 12 + buildDunePackage { 13 + inherit pname version; 14 + src = fetchFromGitHub { 15 + owner = "johnwhitington"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + hash = "sha256-+Dx8BuRlxb8xh41jHskrNcKGV/HgedauLt1vo1tADHw="; 19 + }; 20 + patches = [ 21 + (fetchpatch { 22 + name = "camlgpc-pr-5-switch-to-dune"; 23 + url = "https://github.com/johnwhitington/camlgpc/pull/5.diff"; 24 + hash = "sha256-znm+mX60RwYNCYXwm9HYCO8BRbzUM0Bm6dI1f1FzncA="; 25 + }) 26 + ]; 27 + propagatedBuildInputs = [ ]; 28 + doCheck = true; 29 + checkInputs = [ ]; 30 + meta = { 31 + description = "OCaml interface to Alan Murta's General Polygon Clipper"; 32 + homepage = "https://github.com/johnwhitington/camlgpc"; 33 + license = lib.licenses.mit; 34 + maintainers = [ lib.maintainers.vog ]; 35 + }; 36 + }
+2
pkgs/top-level/ocaml-packages.nix
··· 165 166 callipyge = callPackage ../development/ocaml-modules/callipyge { }; 167 168 camlidl = callPackage ../development/tools/ocaml/camlidl { }; 169 170 camlimages = callPackage ../development/ocaml-modules/camlimages { };
··· 165 166 callipyge = callPackage ../development/ocaml-modules/callipyge { }; 167 168 + camlgpc = callPackage ../development/ocaml-modules/camlgpc { }; 169 + 170 camlidl = callPackage ../development/tools/ocaml/camlidl { }; 171 172 camlimages = callPackage ../development/ocaml-modules/camlimages { };