summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/tsdl-ttf/default.nix
blob: 0ff1963fcaf028afd3863d34538c9a242265fbbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ buildDunePackage
, dune-configurator
, fetchFromGitHub
, lib
, SDL2
, SDL2_ttf
, tsdl
}:

buildDunePackage rec {
  pname = "tsdl-ttf";
  version = "0.3.2";

  src = fetchFromGitHub {
    owner = "sanette";
    repo = pname;
    rev = version;
    sha256 = "sha256-COBLF9K8thRROJJGeg4wxqrjB3aBa4CGYkf8HdAQ2o0";
  };

  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; [ ];
  };
}