bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
34 lines
702 B
Nix
34 lines
702 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
decorator,
|
|
fetchPypi,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "stashy";
|
|
version = "0.7";
|
|
format = "setuptools";
|
|
|
|
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 ];
|
|
};
|
|
}
|