evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / ocaml-modules / graphics / default.nix
blob02edaded7c03d49fd94437a941387985c0d814ea
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 = "Set of portable drawing primitives";
21     license = lib.licenses.lgpl2;
22   };