depot/third_party/nixpkgs/pkgs/development/python-modules/pyseventeentrack/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

47 lines
922 B
Nix

{
aiohttp,
aresponses,
attrs,
buildPythonPackage,
fetchFromGitHub,
lib,
poetry-core,
pytestCheckHook,
pytz,
}:
buildPythonPackage rec {
pname = "pyseventeentrack";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "shaiu";
repo = "pyseventeentrack";
rev = "refs/tags/v${version}";
hash = "sha256-AHFJu2z3UWBR6BzwdxAKl3wpqBnsyj8pn16z1rgFVpw=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
attrs
pytz
];
pythonImportsCheck = [ "pyseventeentrack" ];
nativeCheckInputs = [
aresponses
pytestCheckHook
];
meta = {
changelog = "https://github.com/shaiu/pyseventeentrack/releases/tag/v${version}";
description = "Simple Python API for 17track.net";
homepage = "https://github.com/shaiu/pyseventeentrack";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}