diff options
| author | Patrick Norton <patrick.147.norton@gmail.com> | 2026-03-28 08:16:02 -0400 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-04-04 00:30:52 +0200 |
| commit | d0fbabae2e92010bd24704e49ac588dc3354f51f (patch) | |
| tree | 5410f60e40001d3ed779a0a8e9c7b96c642a814f | |
| parent | 95ac807edf99f6489bd06f9d00632ed8dfc19798 (diff) | |
gnu: image: Add libdicom.
* gnu/packages/image.scm (libdicom): New variable.
Change-Id: Ia47b559ae381c89235e5779734e72163224d815b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| -rw-r--r-- | gnu/packages/image.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 8f239f53cf8..94262608d71 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -74,6 +74,7 @@ #:use-module (gnu packages cpp) #:use-module (gnu packages curl) #:use-module (gnu packages compression) + #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -245,6 +246,29 @@ code is Valgrind-clean and unit tested.") (home-page "https://sourceforge.net/projects/iqa/") (license license:bsd-4))) +(define-public libdicom + (package + (name "libdicom") + (version "1.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ImagingDataCommons/libdicom") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0l1z8riv7lrw65nswq8lvyvnxn5vc06gydwc96gj3ywb1gcqv831")))) + (build-system meson-build-system) + (inputs (list check uthash)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/ImagingDataCommons/libdicom") + (synopsis "C library for reading DICOM files") + (description + "This package is a C library and a set of command-line tools for reading +DICOM WSI files.") + (license license:expat))) + (define-public libpng (package (name "libpng") |
