Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
722 B
Nix
37 lines
722 B
Nix
{
|
|
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;
|
|
};
|
|
}
|