Merge pull request #171302 from renesat/submit/datalad

authored by Sandro and committed by GitHub 8c746505 1ec895fd

+82
+80
pkgs/applications/version-management/datalad/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, installShellFiles, python3, git }: 2 + 3 + python3.pkgs.buildPythonApplication rec { 4 + pname = "datalad"; 5 + version = "0.16.5"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "datalad"; 9 + repo = pname; 10 + rev = version; 11 + hash = "sha256-6uWOKsYeNZJ64WqoGHL7AsoK4iZd24TQOJ1ECw+K28Y="; 12 + }; 13 + 14 + nativeBuildInputs = [ installShellFiles git ]; 15 + 16 + propagatedBuildInputs = with python3.pkgs; [ 17 + # core 18 + platformdirs 19 + chardet 20 + iso8601 21 + humanize 22 + fasteners 23 + packaging 24 + patool 25 + tqdm 26 + annexremote 27 + 28 + # downloaders-extra 29 + # requests-ftp # not in nixpkgs yet 30 + 31 + # downloaders 32 + boto 33 + keyrings-alt 34 + keyring 35 + msgpack 36 + requests 37 + 38 + # publish 39 + python-gitlab 40 + 41 + # misc 42 + argcomplete 43 + pyperclip 44 + python-dateutil 45 + 46 + # metadata 47 + simplejson 48 + whoosh 49 + 50 + # metadata-extra 51 + pyyaml 52 + mutagen 53 + exifread 54 + python-xmp-toolkit 55 + pillow 56 + 57 + # duecredit 58 + duecredit 59 + 60 + # python>=3.8 61 + distro 62 + ] ++ lib.optional stdenv.hostPlatform.isWindows [ colorama ] 63 + ++ lib.optional (python3.pythonOlder "3.10") [ importlib-metadata ]; 64 + 65 + postInstall = '' 66 + installShellCompletion --cmd datalad \ 67 + --bash <($out/bin/datalad shell-completion) \ 68 + --zsh <($out/bin/datalad shell-completion) 69 + ''; 70 + 71 + # no tests 72 + doCheck = false; 73 + 74 + meta = with lib; { 75 + description = "Keep code, data, containers under control with git and git-annex"; 76 + homepage = "https://www.datalad.org"; 77 + license = licenses.mit; 78 + maintainers = with maintainers; [ renesat ]; 79 + }; 80 + }
+2
pkgs/top-level/all-packages.nix
··· 370 370 371 371 cryptowatch-desktop = callPackage ../applications/finance/cryptowatch { }; 372 372 373 + datalad = callPackage ../applications/version-management/datalad { }; 374 + 373 375 dhallDirectoryToNix = callPackage ../build-support/dhall/directory-to-nix.nix { }; 374 376 375 377 dhallPackageToNix = callPackage ../build-support/dhall/package-to-nix.nix { };