mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-15 01:33:50 +00:00
Diff: https://github.com/zhulik/aiotractive/compare/v1.0.2...v1.0.3 Changelog: https://github.com/zhulik/aiotractive/releases/tag/v1.0.3
46 lines
903 B
Nix
46 lines
903 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
orjson,
|
|
setuptools,
|
|
yarl,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aiotractive";
|
|
version = "1.0.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zhulik";
|
|
repo = "aiotractive";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-wRV/ZQ2T3Dlrmq6jY5IatrGr07uxPFWcVoMiJN+md88=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonRelaxDeps = [ "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 ];
|
|
};
|
|
})
|