2018-03-31 11:04:00 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, requests_oauthlib, nose, sh }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bitbucket-api";
|
2018-04-04 18:02:31 +00:00
|
|
|
version = "0.5.0";
|
2018-03-31 11:04:00 +00:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 18:02:31 +00:00
|
|
|
sha256 = "b541d9d7f234074a74214505aff1846eb21e5dd6d3915139e817d4675d34f4e3";
|
2018-03-31 11:04:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests_oauthlib nose sh ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/Sheeprider/BitBucket-api;
|
|
|
|
description = "Python library to interact with BitBucket REST API";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|