lol

python312Packages.datalad: 1.1.3 -> 1.1.4 (#357153)

authored by

OTABI Tomoya and committed by
GitHub
54e82959 0ed508a1

+35 -39
+35 -39
pkgs/development/python-modules/datalad/default.nix
··· 34 34 python-dateutil, 35 35 # duecredit 36 36 duecredit, 37 - # python>=3.8 38 37 distro, 39 38 # win 40 39 colorama, 41 40 # python-version-dependent 42 41 pythonOlder, 43 - importlib-resources, 44 42 importlib-metadata, 45 43 typing-extensions, 46 44 # tests 45 + pytest-xdist, 47 46 pytestCheckHook, 48 47 p7zip, 49 48 curl, ··· 52 51 53 52 buildPythonPackage rec { 54 53 pname = "datalad"; 55 - version = "1.1.3"; 54 + version = "1.1.4"; 55 + pyproject = true; 56 56 57 57 src = fetchFromGitHub { 58 58 owner = "datalad"; 59 - repo = pname; 59 + repo = "datalad"; 60 60 rev = "refs/tags/${version}"; 61 - hash = "sha256-Y7P9vRfFUJ5ZhVRTAYeImI9cv1LtWVAeBoBl6wANnrc="; 61 + hash = "sha256-l3II9xebSq09He5e4GGGiGtfe6ERtIQD00eHKGx46WA="; 62 62 }; 63 63 64 64 postPatch = '' ··· 79 79 ]; 80 80 81 81 dependencies = 82 - [ 83 - # core 84 - platformdirs 85 - chardet 86 - iso8601 87 - humanize 88 - fasteners 89 - packaging 90 - patool 91 - tqdm 92 - annexremote 93 - looseversion 94 - setuptools 95 - git-annex 82 + optional-dependencies.core ++ optional-dependencies.downloaders ++ optional-dependencies.publish; 96 83 97 - # downloaders-extra 98 - # requests-ftp # not in nixpkgs yet 99 - 100 - # downloaders 84 + optional-dependencies = { 85 + core = 86 + [ 87 + platformdirs 88 + chardet 89 + distro 90 + iso8601 91 + humanize 92 + fasteners 93 + packaging 94 + patool 95 + tqdm 96 + annexremote 97 + looseversion 98 + ] 99 + ++ lib.optionals stdenv.hostPlatform.isWindows [ colorama ] 100 + ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ] 101 + ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ]; 102 + downloaders = [ 101 103 boto3 102 104 keyrings-alt 103 105 keyring 104 106 msgpack 105 107 requests 106 - 107 - # publish 108 - python-gitlab 109 - 110 - # misc 108 + ]; 109 + downloaders-extra = [ 110 + # requests-ftp # not in nixpkgs yet 111 + ]; 112 + publish = [ python-gitlab ]; 113 + misc = [ 111 114 argcomplete 112 115 pyperclip 113 116 python-dateutil 114 - 115 - # duecredit 116 - duecredit 117 - 118 - # python>=3.8 119 - distro 120 - ] 121 - ++ lib.optionals stdenv.hostPlatform.isWindows [ colorama ] 122 - ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ] 123 - ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ] 124 - ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ]; 117 + ]; 118 + duecredit = [ duecredit ]; 119 + }; 125 120 126 121 postInstall = '' 127 122 installShellCompletion --cmd datalad \ ··· 228 223 229 224 nativeCheckInputs = [ 230 225 p7zip 226 + pytest-xdist 231 227 pytestCheckHook 232 228 git-annex 233 229 curl