pythonPackages.annexremote: init at 1.3.1 (#59463)

This commit is contained in:
montag451 2019-04-14 15:17:41 +02:00 committed by Robert Schütz
parent 90d166dc7d
commit c82ebc197e
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, isPy3k
, buildPythonPackage
, fetchFromGitHub
, future
, mock
, nose
}:
buildPythonPackage rec {
pname = "annexremote";
version = "1.3.1";
# use fetchFromGitHub instead of fetchPypi because the test suite of
# the package is not included into the PyPI tarball
src = fetchFromGitHub {
rev = "v${version}";
owner = "Lykos153";
repo = "AnnexRemote";
sha256 = "13ny7h41430pi9393dw3qgwxvzcxacapjsw0d3vjm7lc4h566alq";
};
propagatedBuildInputs = [ future ];
checkInputs = [ nose ] ++ lib.optional (!isPy3k) mock;
checkPhase = "nosetests -v";
meta = with lib; {
description = "Helper module to easily develop git-annex remotes";
homepage = https://github.com/Lykos153/AnnexRemote;
license = licenses.gpl3;
maintainers = with maintainers; [ montag451 ];
};
}

View file

@ -954,6 +954,8 @@ in {
allpairspy = callPackage ../development/python-modules/allpairspy { };
annexremote = callPackage ../development/python-modules/annexremote { };
ansible = callPackage ../development/python-modules/ansible { };
ansible-kernel = callPackage ../development/python-modules/ansible-kernel { };