-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aliza: init at 1.9.7 #285657
base: master
Are you sure you want to change the base?
aliza: init at 1.9.7 #285657
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,54 @@ | ||||||||||||||||||
{ lib | ||||||||||||||||||
, stdenv | ||||||||||||||||||
, fetchFromGitHub | ||||||||||||||||||
, wrapQtAppsHook | ||||||||||||||||||
, itk | ||||||||||||||||||
, cmake | ||||||||||||||||||
, qtbase | ||||||||||||||||||
}: | ||||||||||||||||||
|
||||||||||||||||||
stdenv.mkDerivation (finalAttrs: { | ||||||||||||||||||
pname = "aliza"; | ||||||||||||||||||
version = "1.9.7"; | ||||||||||||||||||
|
||||||||||||||||||
src = fetchFromGitHub { | ||||||||||||||||||
owner = "AlizaMedicalImaging"; | ||||||||||||||||||
repo = "AlizaMS"; | ||||||||||||||||||
rev = "v${finalAttrs.version}"; | ||||||||||||||||||
hash = "sha256-bambl3NP42KEwh6NPb8jhQlGqaUCSt6QuzUmmBnEAQw="; | ||||||||||||||||||
}; | ||||||||||||||||||
|
||||||||||||||||||
nativeBuildInputs = [ | ||||||||||||||||||
wrapQtAppsHook | ||||||||||||||||||
]; | ||||||||||||||||||
|
||||||||||||||||||
buildInputs = [ | ||||||||||||||||||
itk | ||||||||||||||||||
cmake | ||||||||||||||||||
qtbase | ||||||||||||||||||
]; | ||||||||||||||||||
|
||||||||||||||||||
luxzeitlos marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||
strictDeps = true; | ||||||||||||||||||
|
||||||||||||||||||
cmakeFlags = [ | ||||||||||||||||||
"-DCMAKE_BUILD_TYPE:STRING=Release" | ||||||||||||||||||
"-DALIZA_QT_VERSION:STRING=5" | ||||||||||||||||||
"-DITK_DIR:STRING=${itk}" | ||||||||||||||||||
"-DMDCM_USE_SYSTEM_ZLIB:BOOL=ON" | ||||||||||||||||||
Comment on lines
+34
to
+37
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. are you sure There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ... why not? |
||||||||||||||||||
]; | ||||||||||||||||||
|
||||||||||||||||||
installPhase = '' | ||||||||||||||||||
runHook preInstall | ||||||||||||||||||
install -Dm555 ./bin/* -t $out/bin | ||||||||||||||||||
runHook postInstall | ||||||||||||||||||
''; | ||||||||||||||||||
|
||||||||||||||||||
meta = with lib; { | ||||||||||||||||||
description = "A DICOM Viewer"; | ||||||||||||||||||
homepage = "https://www.aliza-dicom-viewer.com/"; | ||||||||||||||||||
license = licenses.gpl3Only; | ||||||||||||||||||
maintainers = with maintainers; [ lux ]; | ||||||||||||||||||
platforms = platforms.linux; | ||||||||||||||||||
mainProgram = "alizams"; | ||||||||||||||||||
}; | ||||||||||||||||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually it goes on nativeBuildInputs.