1{ lib
2, buildPythonPackage
3, decorator
4, fetchPypi
5, pythonOlder
6, requests
7 }:
8
9buildPythonPackage rec {
10 pname = "stashy";
11 version = "0.7";
12 disabled = pythonOlder "3.4";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "1x89zazwxnsx6rdfw8nfr372hj4sk8nrcs5hsjxpcxcva0calrcr";
17 };
18
19 propagatedBuildInputs = [ decorator requests ];
20
21 # Tests require internet connection
22 doCheck = false;
23 pythonImportsCheck = [ "stashy" ];
24
25 meta = with lib; {
26 description = "Python client for the Atlassian Bitbucket Server (formerly known as Stash) REST API.";
27 homepage = "https://github.com/cosmin/stashy";
28 license = licenses.asl20;
29 maintainers = with maintainers; [ mupdt ];
30 };
31}