biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / ocaml-modules / graphics / default.nix
blob38db74fc9faf87e57c5c8c4571cb24cb3c8aaa57
1 { lib, fetchurl, buildDunePackage, dune-configurator, libX11 }:
3 buildDunePackage rec {
5   pname = "graphics";
6   version = "5.1.2";
8   useDune2 = true;
10   src = fetchurl {
11     url = "https://github.com/ocaml/graphics/releases/download/${version}/graphics-${version}.tbz";
12     sha256 = "sha256-QA/YHSPxy0FGuWl5NCwkeXHdVPWHn/0vgOx80CEuMtQ=";
13   };
15   buildInputs = [ dune-configurator ];
16   propagatedBuildInputs = [ libX11 ];
18   meta = {
19     homepage = "https://github.com/ocaml/graphics";
20     description = "A set of portable drawing primitives";
21     license = lib.licenses.lgpl2;
22   };