Merge pull request #187753 from fabaff/tank-utility-bump
This commit is contained in:
commit
fda12bb1a7
3 changed files with 54 additions and 1 deletions
50
pkgs/development/python-modules/tank-utility/default.nix
Normal file
50
pkgs/development/python-modules/tank-utility/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -2719,7 +2719,8 @@
|
|||
tailscale
|
||||
];
|
||||
"tank_utility" = ps: with ps; [
|
||||
]; # missing inputs: tank_utility
|
||||
tank-utility
|
||||
];
|
||||
"tankerkoenig" = ps: with ps; [
|
||||
pytankerkoenig
|
||||
];
|
||||
|
|
|
@ -10621,6 +10621,8 @@ in {
|
|||
|
||||
tailscale = callPackage ../development/python-modules/tailscale { };
|
||||
|
||||
tank-utility = callPackage ../development/python-modules/tank-utility { };
|
||||
|
||||
tappy = callPackage ../development/python-modules/tappy { };
|
||||
|
||||
tasklib = callPackage ../development/python-modules/tasklib { };
|
||||
|
|
Loading…
Reference in a new issue