1{ lib, buildPythonPackage, fetchPypi, isPy3k, requests }:
2
3buildPythonPackage rec {
4 pname = "bitbucket-cli";
5 version = "0.5.1";
6 disabled = isPy3k;
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "1xmn73x6jirnwfwcdy380ncmkai9f9dhmld6zin01ypbqwgf50fq";
11 };
12
13 propagatedBuildInputs = [ requests ];
14
15 # No tests
16 doCheck = false;
17
18 meta = with lib; {
19 description = "Bitbucket command line interface";
20 homepage = "https://bitbucket.org/zhemao/bitbucket-cli";
21 maintainers = with maintainers; [ refnil ];
22 license = licenses.bsd2;
23 };
24}