-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #327880 from NixOS/backport-325434-to-release-24.05
[Backport release-24.05] pdf4qt: 1.3.7 -> 1.4.0.0; blend2d: init at 0.10
- Loading branch information
Showing
2 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
lib, | ||
stdenv, | ||
fetchFromGitHub, | ||
cmake, | ||
asmjit, | ||
}: | ||
|
||
stdenv.mkDerivation { | ||
pname = "blend2d"; | ||
# Note: this is an outdated version for pdf4qt, but vcpkg also uses it | ||
# See 'Commit Hashes' in https://blend2d.com/download.html for newest | ||
# If the newest version is needed, we can rename this package. | ||
version = "0.10"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "blend2d"; | ||
repo = "blend2d"; | ||
rev = "452d549751188b04367b5af46c040cb737f5f76c"; | ||
hash = "sha256-LDhnXsp/V1A3YqVyjBVaL7/V6Nhts/1E9hRhl2P293o="; | ||
}; | ||
|
||
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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters