b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
50 lines
880 B
Nix
50 lines
880 B
Nix
{ 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 ];
|
|
};
|
|
}
|