2022-06-16 17:23:12 +00:00
|
|
|
{ buildDunePackage
|
|
|
|
, dune-configurator
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, SDL2
|
|
|
|
, SDL2_ttf
|
|
|
|
, tsdl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "tsdl-ttf";
|
2023-03-30 22:05:00 +00:00
|
|
|
version = "0.5";
|
|
|
|
|
|
|
|
duneVersion = "3";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sanette";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-03-30 22:05:00 +00:00
|
|
|
hash = "sha256-ai9ChsA3HZzTxT9AuHsY1UIA2Q3U3CcOA7jRSG4MDsQ=";
|
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
|
|
|
};
|
|
|
|
}
|