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