mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-30 18:00:09 +00:00
Diff: https://github.com/zhulik/aiotractive/compare/v2.1.0...v2.1.1 Changelog: https://github.com/zhulik/aiotractive/releases/tag/v2.1.1
54 lines
1012 B
Nix
54 lines
1012 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
orjson,
|
|
pyprojectVersionPatchHook,
|
|
setuptools,
|
|
yarl,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aiotractive";
|
|
version = "2.1.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zhulik";
|
|
repo = "aiotractive";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-EMl3pOb3LIoONpQhhNa0DtGGu6r8OGNMGbEfoSWhNYc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeBuildInputs = [
|
|
pyprojectVersionPatchHook
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"aiohttp"
|
|
"orjson"
|
|
];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
orjson
|
|
yarl
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aiotractive" ];
|
|
|
|
meta = {
|
|
description = "Python client for the Tractive REST API";
|
|
homepage = "https://github.com/zhulik/aiotractive";
|
|
changelog = "https://github.com/zhulik/aiotractive/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|