Skip to content

Commit

Permalink
python310Packages.tank-utility: init at 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Aug 23, 2022
1 parent 796a267 commit cf1f301
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
50 changes: 50 additions & 0 deletions pkgs/development/python-modules/tank-utility/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10610,6 +10610,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 { };
Expand Down

0 comments on commit cf1f301

Please sign in to comment.