pythonPackages.dropbox: Move to own file
This commit is contained in:
committed by
Frederik Rietdijk
parent
9bbba780df
commit
681c0a21d8
24
pkgs/development/python-modules/dropbox/default.nix
Normal file
24
pkgs/development/python-modules/dropbox/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, pytestrunner, requests, urllib3, mock, setuptools }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dropbox";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0bixx80zjq0286dwm4zhg8bdhc8pqlrqy4n2jg7i6m6a4gv4gak5";
|
||||
};
|
||||
|
||||
# Set DROPBOX_TOKEN environment variable to a valid token.
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
propagatedBuildInputs = [ requests urllib3 mock setuptools ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs";
|
||||
homepage = https://www.dropbox.com/developers/core/docs;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user