Merge pull request #187753 from fabaff/tank-utility-bump

This commit is contained in:
Martin Weinelt 2022-08-23 21:15:05 +02:00 committed by GitHub
commit fda12bb1a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 1 deletions

View file

@ -0,0 +1,50 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, pytestCheckHook
, pythonOlder
, requests
, responses
, setuptools
, urllib3
}:
buildPythonPackage rec {
pname = "tank-utility";
version = "1.4.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "krismolendyke";
repo = pname;
rev = version;
hash = "sha256-2cxAaSyreIzQzCUtiolEV7JbGFKL8Mob3337J0jlMsU=";
};
propagatedBuildInputs = [
requests
urllib3
setuptools
] ++ urllib3.optional-dependencies.secure;
checkInputs = [
responses
mock
pytestCheckHook
];
pythonImportsCheck = [
"tank_utility"
];
meta = with lib; {
description = "Library for the Tank Utility API";
homepage = "https://github.com/krismolendyke/tank-utility";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2719,7 +2719,8 @@
tailscale tailscale
]; ];
"tank_utility" = ps: with ps; [ "tank_utility" = ps: with ps; [
]; # missing inputs: tank_utility tank-utility
];
"tankerkoenig" = ps: with ps; [ "tankerkoenig" = ps: with ps; [
pytankerkoenig pytankerkoenig
]; ];

View file

@ -10621,6 +10621,8 @@ in {
tailscale = callPackage ../development/python-modules/tailscale { }; tailscale = callPackage ../development/python-modules/tailscale { };
tank-utility = callPackage ../development/python-modules/tank-utility { };
tappy = callPackage ../development/python-modules/tappy { }; tappy = callPackage ../development/python-modules/tappy { };
tasklib = callPackage ../development/python-modules/tasklib { }; tasklib = callPackage ../development/python-modules/tasklib { };