datalad: 0.16.5 -> 0.18.3; unbreak

Added missing `looseversion` and undeclared `setuptools` dependencies.
Added git-annex.
Correctly wrapped `datalad` program so that `datalad create` works.

+9 -3
+9 -3
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-F5UFW0/XqntrHclpj3TqoAwuHJbiiv5a7/4MnFoJ1dE="; 12 }; 13 14 nativeBuildInputs = [ installShellFiles git ]; ··· 24 patool 25 tqdm 26 annexremote 27 28 # downloaders-extra 29 # requests-ftp # not in nixpkgs yet ··· 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";
··· 1 + { lib, stdenv, fetchFromGitHub, installShellFiles, python3, git, git-annex }: 2 3 python3.pkgs.buildPythonApplication rec { 4 pname = "datalad"; 5 + version = "0.18.3"; 6 7 src = fetchFromGitHub { 8 owner = "datalad"; 9 repo = pname; 10 rev = version; 11 + hash = "sha256-vqO37o5NxQk+gHfvhM1I2ea9/q9ZaLWkDEyPYJKEPcs"; 12 }; 13 14 nativeBuildInputs = [ installShellFiles git ]; ··· 24 patool 25 tqdm 26 annexremote 27 + looseversion 28 + setuptools 29 + git-annex 30 31 # downloaders-extra 32 # requests-ftp # not in nixpkgs yet ··· 69 installShellCompletion --cmd datalad \ 70 --bash <($out/bin/datalad shell-completion) \ 71 --zsh <($out/bin/datalad shell-completion) 72 + wrapProgram $out/bin/datalad --prefix PYTHONPATH : "$PYTHONPATH" 73 ''; 74 75 # no tests 76 doCheck = false; 77 + 78 + pythonImportsCheck = [ "datalad" ]; 79 80 meta = with lib; { 81 description = "Keep code, data, containers under control with git and git-annex";