2022-06-16 17:23:12 +00:00
|
|
|
{ buildDunePackage
|
|
|
|
, dune-configurator
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, SDL2
|
|
|
|
, SDL2_ttf
|
|
|
|
, tsdl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "tsdl-ttf";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.6";
|
2023-03-30 22:05:00 +00:00
|
|
|
|
|
|
|
duneVersion = "3";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sanette";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-1MGbsekaBoCz4vAwg+Dfzsl0xUKgs8dUEr+OpLopnig=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dune-configurator
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
SDL2
|
|
|
|
SDL2_ttf
|
|
|
|
tsdl
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "SDL2_ttf bindings for Ocaml with Tsdl";
|
|
|
|
homepage = "https://github.com/sanette/tsdl-ttf";
|
|
|
|
license = licenses.bsd3;
|
2022-10-06 18:32:54 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|