nixpkgs-suyu/pkgs/development/ocaml-modules/graphics/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
586 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage, dune-configurator, libX11 }:
buildDunePackage rec {
pname = "graphics";
2021-12-08 22:54:49 +01:00
version = "5.1.2";
useDune2 = true;
src = fetchurl {
url = "https://github.com/ocaml/graphics/releases/download/${version}/graphics-${version}.tbz";
2021-12-08 22:54:49 +01:00
sha256 = "sha256-QA/YHSPxy0FGuWl5NCwkeXHdVPWHn/0vgOx80CEuMtQ=";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ libX11 ];
meta = {
homepage = "https://github.com/ocaml/graphics";
description = "A set of portable drawing primitives";
license = lib.licenses.lgpl2;
};
}