depot/third_party/nixpkgs/pkgs/development/python-modules/aiopegelonline/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

46 lines
937 B
Nix

{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiopegelonline";
version = "0.0.7";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "mib1185";
repo = "aiopegelonline";
rev = "refs/tags/v${version}";
hash = "sha256-r+5b52N/vliKHx6qOLJ4lWcQt1TPEcn5Dz7cZNhRbNg=";
};
propagatedBuildInputs = [
aiohttp
];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"aiopegelonline"
];
meta = with lib; {
description = "Library to retrieve data from PEGELONLINE";
homepage = "https://github.com/mib1185/aiopegelonline";
changelog = "https://github.com/mib1185/aiopegelonline/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}