Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cd99b82d8aa0
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 046730ebdb66
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 16, 2020

  1. pythonPackages.pydicom: init at 1.3.0

    bcdarwin authored and Jon committed Jan 16, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    LnL7 Daiderd Jordan
    Copy the full SHA
    046730e View commit details
Showing with 30 additions and 0 deletions.
  1. +28 −0 pkgs/development/python-modules/pydicom/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/pydicom/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytestrunner
, numpy
, pillow
}:

buildPythonPackage rec {
version = "1.3.0";
pname = "pydicom";

src = fetchPypi {
inherit pname version;
sha256 = "1j11lsykqbnw9d6gzgj6kfn6lawvm5d9azd9palj3l1xhj0hlnsq";
};

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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -1040,6 +1040,8 @@ in {

pydbus = callPackage ../development/python-modules/pydbus { };

pydicom = callPackage ../development/python-modules/pydicom { };

pydocstyle =
if isPy27 then
callPackage ../development/python-modules/pydocstyle/2.nix { }