aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pydicom
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pydicom')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pydicom/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pydicom/default.nix b/nixpkgs/pkgs/development/python-modules/pydicom/default.nix
new file mode 100644
index 00000000000..6f4e4c97fd1
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/pydicom/default.nix
@@ -0,0 +1,28 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, pytest
+, pytestrunner
+, numpy
+, pillow
+}:
+
+buildPythonPackage rec {
+ version = "1.4.2";
+ pname = "pydicom";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1483hv74fhfk4q18r4rda7yixqqdxrd1djzp3492s81ykxd4k24l";
+ };
+
+ propagatedBuildInputs = [ numpy pillow ];
+ checkInputs = [ pytest pytestrunner ];
+
+ meta = with stdenv.lib; {
+ homepage = "https://pydicom.github.io";
+ description = "Pure-Python package for working with DICOM files";
+ license = licenses.mit;
+ maintainers = with maintainers; [ bcdarwin ];
+ };
+}