emacsPackages.treemacs: replace python3 program (#364623)
[NixPkgs.git] / pkgs / development / ocaml-modules / graphics / default.nix
blobeab2c1b12ee6d581b2034ae621bc9314e2af0ee7
2   lib,
3   fetchurl,
4   buildDunePackage,
5   dune-configurator,
6   libX11,
7 }:
9 buildDunePackage rec {
11   pname = "graphics";
12   version = "5.1.2";
14   useDune2 = true;
16   src = fetchurl {
17     url = "https://github.com/ocaml/graphics/releases/download/${version}/graphics-${version}.tbz";
18     sha256 = "sha256-QA/YHSPxy0FGuWl5NCwkeXHdVPWHn/0vgOx80CEuMtQ=";
19   };
21   buildInputs = [ dune-configurator ];
22   propagatedBuildInputs = [ libX11 ];
24   meta = {
25     homepage = "https://github.com/ocaml/graphics";
26     description = "Set of portable drawing primitives";
27     license = lib.licenses.lgpl2;
28   };