Files
nixpkgs/pkgs/by-name/as/asmjit/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

40 lines
880 B
Nix

{
stdenv,
fetchFromGitHub,
cmake,
ninja,
lib,
}:
stdenv.mkDerivation {
pname = "asmjit";
version = "0-unstable-2025-02-12";
src = fetchFromGitHub {
owner = "asmjit";
repo = "asmjit";
rev = "029075b84bf0161a761beb63e6eda519a29020db";
hash = "sha256-/9F1rFNPwJUrVOVeK9sIA+Q7UrqQpQy8T6g4ywcoJc8=";
};
nativeBuildInputs = [
cmake
ninja
];
strictDeps = true;
meta = with lib; {
description = "Machine code generation for C++";
longDescription = ''
AsmJit is a lightweight library for machine code generation written in
C++ language. It can generate machine code for X86, X86_64, and AArch64
architectures and supports baseline instructions and all recent
extensions.
'';
homepage = "https://asmjit.com/";
license = licenses.zlib;
maintainers = with maintainers; [ thillux ];
};
}