2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, decorator
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "stashy";
|
|
|
|
version = "0.7";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-12-06 16:07:01 +00:00
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1x89zazwxnsx6rdfw8nfr372hj4sk8nrcs5hsjxpcxcva0calrcr";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ decorator requests ];
|
|
|
|
|
|
|
|
# Tests require internet connection
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "stashy" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python client for the Atlassian Bitbucket Server (formerly known as Stash) REST API.";
|
|
|
|
homepage = "https://github.com/cosmin/stashy";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ mupdt ];
|
|
|
|
};
|
|
|
|
}
|