mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
41 lines
644 B
Nix
41 lines
644 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 = {
|
|
description = "SDL2_ttf bindings for Ocaml with Tsdl";
|
|
homepage = "https://github.com/sanette/tsdl-ttf";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
}
|