depot/third_party/nixpkgs/pkgs/development/python-modules/bitbucket-cli/default.nix

25 lines
570 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy3k, requests }:
buildPythonPackage rec {
pname = "bitbucket-cli";
version = "0.5.1";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1xmn73x6jirnwfwcdy380ncmkai9f9dhmld6zin01ypbqwgf50fq";
};
propagatedBuildInputs = [ requests ];
# No tests
doCheck = false;
meta = with lib; {
description = "Bitbucket command line interface";
homepage = "https://bitbucket.org/zhemao/bitbucket-cli";
maintainers = with maintainers; [ refnil ];
license = licenses.bsd2;
};
}