Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
722 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
asmjit,
}:
stdenv.mkDerivation {
pname = "blend2d";
version = "0.12";
src = fetchFromGitHub {
owner = "blend2d";
repo = "blend2d";
rev = "717cbf4bc0f2ca164cf2f0c48f0497779241b6c5";
hash = "sha256-L3wDsjy0cocncZqKLy8in2yirrFJoqU3tFBfeBxlhs0=";
};
outputs = [
"out"
"dev"
];
nativeBuildInputs = [ cmake ];
cmakeFlags = [ (lib.cmakeFeature "ASMJIT_DIR" (toString asmjit.src)) ];
meta = {
description = "2D Vector Graphics Engine Powered by a JIT Compiler";
homepage = "https://blend2d.com";
license = lib.licenses.zlib;
maintainers = with lib.maintainers; [ aleksana ];
platforms = lib.platforms.all;
};
}