depot/third_party/nixpkgs/pkgs/development/ocaml-modules/tsdl-ttf/default.nix
Default email ed0c4a69f0 Project import generated by Copybara.
GitOrigin-RevId: e3652e0735fbec227f342712f180f4f21f0594f2
2023-03-31 00:05:00 +02:00

39 lines
659 B
Nix

{ buildDunePackage
, dune-configurator
, fetchFromGitHub
, lib
, SDL2
, SDL2_ttf
, tsdl
}:
buildDunePackage rec {
pname = "tsdl-ttf";
version = "0.5";
duneVersion = "3";
src = fetchFromGitHub {
owner = "sanette";
repo = pname;
rev = version;
hash = "sha256-ai9ChsA3HZzTxT9AuHsY1UIA2Q3U3CcOA7jRSG4MDsQ=";
};
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;
maintainers = with maintainers; [ ];
};
}