depot/third_party/nixpkgs/pkgs/development/ocaml-modules/tsdl-ttf/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

39 lines
659 B
Nix

{ buildDunePackage
, dune-configurator
, fetchFromGitHub
, lib
, SDL2
, SDL2_ttf
, tsdl
}:
buildDunePackage rec {
pname = "tsdl-ttf";
version = "0.6";
duneVersion = "3";
src = fetchFromGitHub {
owner = "sanette";
repo = pname;
rev = version;
hash = "sha256-1MGbsekaBoCz4vAwg+Dfzsl0xUKgs8dUEr+OpLopnig=";
};
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; [ ];
};
}