14 deid-data = buildPythonPackage rec {
16 version = "unstable-2022-12-06";
18 disabled = pythonOlder "3.7";
20 nativeBuildInputs = [ setuptools ];
21 propagatedBuildInputs = [ pydicom ];
23 src = fetchFromGitHub {
26 rev = "5750d25a5048fba429b857c16bf48b0139759644";
27 hash = "sha256-c8NBAN53NyF9dPB7txqYtM0ac0Y+Ch06fMA1LrIUkbc=";
31 description = "Supplementary data for deid package";
32 homepage = "https://github.com/pydicom/deid-data";
33 license = lib.licenses.mit;
34 maintainers = [ lib.maintainers.bcdarwin ];
38 buildPythonPackage rec {
43 disabled = pythonOlder "3.7";
45 # Pypi version has no tests
46 src = fetchFromGitHub {
49 # the github repo does not contain Pypi version tags:
50 rev = "40dc96125daeb65856d643e12c3d6dfec756be0d";
51 hash = "sha256-OtxQPF29eqt8I1Q12ga8a1IjBVO+VBk6y0DQmRtCNoU=";
54 propagatedBuildInputs = [
65 pythonImportsCheck = [ "deid" ];
68 description = "Best-effort anonymization for medical images";
70 homepage = "https://pydicom.github.io/deid";
71 license = licenses.mit;
72 maintainers = with maintainers; [ bcdarwin ];