Files

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

41 lines
732 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
orthanc,
gtest,
icu,
zlib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "orthanc-framework";
inherit (orthanc)
src
version
nativeBuildInputs
strictDeps
cmakeFlags
;
sourceRoot = "${finalAttrs.src.name}/OrthancFramework/SharedLibrary";
buildInputs = orthanc.buildInputs ++ [
icu
];
NIX_LDFLAGS = lib.strings.concatStringsSep " " [
"-L${lib.getLib zlib}"
"-lz"
"-L${lib.getLib gtest}"
"-lgtest"
];
meta = {
description = "SDK for building Orthanc plugins and related applications";
homepage = "https://www.orthanc-server.com/";
license = lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = lib.platforms.linux;
};
})