Files
nixpkgs/pkgs/development/ocaml-modules/tsdl-image/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

41 lines
656 B
Nix

{
buildDunePackage,
dune-configurator,
fetchFromGitHub,
lib,
SDL2,
SDL2_image,
tsdl,
}:
buildDunePackage rec {
pname = "tsdl-image";
version = "0.6";
duneVersion = "3";
src = fetchFromGitHub {
owner = "sanette";
repo = pname;
rev = version;
hash = "sha256-mgTFwkuFJVwJmHrzHSdNh8v4ehZIcWemK+eLqjglw5o=";
};
buildInputs = [
dune-configurator
];
propagatedBuildInputs = [
SDL2
SDL2_image
tsdl
];
meta = {
description = "OCaml SDL2_image bindings to go with Tsdl";
homepage = "https://github.com/sanette/tsdl-image";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}