mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #141738 from mupdt/init-stashy
This commit is contained in:
commit
05f969ac6f
31
pkgs/development/python-modules/stashy/default.nix
Normal file
31
pkgs/development/python-modules/stashy/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user