depot/third_party/nixpkgs/pkgs/by-name/as/asmjit/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

39 lines
878 B
Nix

{
stdenv,
fetchFromGitHub,
cmake,
ninja,
lib,
}:
stdenv.mkDerivation {
pname = "asmjit";
version = "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 ];
};
}