summary refs log tree commit diff
path: root/pkgs/tools/misc/bitbucket-cli
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/bitbucket-cli')
-rw-r--r--pkgs/tools/misc/bitbucket-cli/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/misc/bitbucket-cli/default.nix b/pkgs/tools/misc/bitbucket-cli/default.nix
new file mode 100644
index 00000000000..4a770b187fe
--- /dev/null
+++ b/pkgs/tools/misc/bitbucket-cli/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, python2
+}:
+
+python2.pkgs.buildPythonApplication rec {
+  pname = "bitbucket-cli";
+  version = "0.5.1";
+
+  src = python2.pkgs.fetchPypi {
+    inherit pname version;
+    sha256 = "1xmn73x6jirnwfwcdy380ncmkai9f9dhmld6zin01ypbqwgf50fq";
+  };
+
+  propagatedBuildInputs = with python2.pkgs; [
+    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;
+  };
+}