2018-03-31 12:04:00 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, requests_oauthlib, nose, sh }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bitbucket-api";
|
2018-04-04 19:02:31 +01:00
|
|
|
version = "0.5.0";
|
2018-03-31 12:04:00 +01:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:02:31 +01:00
|
|
|
sha256 = "b541d9d7f234074a74214505aff1846eb21e5dd6d3915139e817d4675d34f4e3";
|
2018-03-31 12:04:00 +01: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;
|
|
|
|
};
|
|
|
|
}
|