mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
48 lines
948 B
Nix
48 lines
948 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
mock,
|
|
pytestCheckHook,
|
|
requests,
|
|
responses,
|
|
setuptools_80,
|
|
urllib3,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tank-utility";
|
|
version = "1.5.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "krismolendyke";
|
|
repo = "tank-utility";
|
|
tag = version;
|
|
hash = "sha256-h9y3X+FSzSFt+bd/chz+x0nocHaKZ8DvreMxAYMs8/E=";
|
|
};
|
|
|
|
build-system = [ setuptools_80 ];
|
|
|
|
dependencies = [
|
|
requests
|
|
urllib3
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
pytestCheckHook
|
|
responses
|
|
];
|
|
|
|
pythonImportsCheck = [ "tank_utility" ];
|
|
|
|
meta = {
|
|
description = "Library for the Tank Utility API";
|
|
mainProgram = "tank-utility";
|
|
homepage = "https://github.com/krismolendyke/tank-utility";
|
|
changelog = "https://github.com/krismolendyke/tank-utility/blob/${version}/HISTORY.rst";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|