mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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.
This commit is contained in:
parent
af26893fab
commit
206cde956f
@ -1,14 +1,14 @@
|
||||
{ lib, stdenv, fetchFromGitHub, installShellFiles, python3, git }:
|
||||
{ lib, stdenv, fetchFromGitHub, installShellFiles, python3, git, git-annex }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "datalad";
|
||||
version = "0.16.5";
|
||||
version = "0.18.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "datalad";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-F5UFW0/XqntrHclpj3TqoAwuHJbiiv5a7/4MnFoJ1dE=";
|
||||
hash = "sha256-vqO37o5NxQk+gHfvhM1I2ea9/q9ZaLWkDEyPYJKEPcs";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles git ];
|
||||
@ -24,6 +24,9 @@ python3.pkgs.buildPythonApplication rec {
|
||||
patool
|
||||
tqdm
|
||||
annexremote
|
||||
looseversion
|
||||
setuptools
|
||||
git-annex
|
||||
|
||||
# downloaders-extra
|
||||
# requests-ftp # not in nixpkgs yet
|
||||
@ -66,11 +69,14 @@ python3.pkgs.buildPythonApplication rec {
|
||||
installShellCompletion --cmd datalad \
|
||||
--bash <($out/bin/datalad shell-completion) \
|
||||
--zsh <($out/bin/datalad shell-completion)
|
||||
wrapProgram $out/bin/datalad --prefix PYTHONPATH : "$PYTHONPATH"
|
||||
'';
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "datalad" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Keep code, data, containers under control with git and git-annex";
|
||||
homepage = "https://www.datalad.org";
|
||||
|
Loading…
Reference in New Issue
Block a user