diff options
author | montag451 <montag451@laposte.net> | 2019-04-14 15:17:41 +0200 |
---|---|---|
committer | Robert Schütz <rschuetz17@gmail.com> | 2019-04-14 15:17:41 +0200 |
commit | c82ebc197ee57583ca909d299c8c8d3bb24178fc (patch) | |
tree | 66c710e5be8b2a57cd00979e1fbb503b1a049b8b /pkgs/development/python-modules/annexremote | |
parent | 90d166dc7d715ca4c14aa2292e37e9bb00a714cb (diff) | |
download | nixpkgs-c82ebc197ee57583ca909d299c8c8d3bb24178fc.tar nixpkgs-c82ebc197ee57583ca909d299c8c8d3bb24178fc.tar.gz nixpkgs-c82ebc197ee57583ca909d299c8c8d3bb24178fc.tar.bz2 nixpkgs-c82ebc197ee57583ca909d299c8c8d3bb24178fc.tar.lz nixpkgs-c82ebc197ee57583ca909d299c8c8d3bb24178fc.tar.xz nixpkgs-c82ebc197ee57583ca909d299c8c8d3bb24178fc.tar.zst nixpkgs-c82ebc197ee57583ca909d299c8c8d3bb24178fc.zip |
pythonPackages.annexremote: init at 1.3.1 (#59463)
Diffstat (limited to 'pkgs/development/python-modules/annexremote')
-rw-r--r-- | pkgs/development/python-modules/annexremote/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/annexremote/default.nix b/pkgs/development/python-modules/annexremote/default.nix new file mode 100644 index 00000000000..f07f05b9884 --- /dev/null +++ b/pkgs/development/python-modules/annexremote/default.nix @@ -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 ]; + }; +} |