Merge pull request #141738 from mupdt/init-stashy

This commit is contained in:
Sandro 2021-11-03 10:54:02 +01:00 committed by GitHub
commit 05f969ac6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, decorator
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "stashy";
version = "0.7";
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 ];
};
}

View File

@ -8882,6 +8882,8 @@ in {
starline = callPackage ../development/python-modules/starline { };
stashy = callPackage ../development/python-modules/stashy { };
staticjinja = callPackage ../development/python-modules/staticjinja { };
statistics = callPackage ../development/python-modules/statistics { };