nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 43 lines 894 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 aiohttp, 7 pytest-asyncio, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "py-melissa-climate"; 13 version = "3.0.3"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "kennedyshead"; 18 repo = "py-melissa-climate"; 19 tag = "V${version}"; 20 hash = "sha256-vKnIFrviCJLMqYUdKKJtqOmD1ZtgtMBMLApG+YiqZdY="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 aiohttp 27 ]; 28 29 nativeCheckInputs = [ 30 pytest-asyncio 31 pytestCheckHook 32 ]; 33 34 pythonImportsCheck = [ "melissa" ]; 35 36 meta = { 37 changelog = "https://github.com/kennedyshead/py-melissa-climate/releases/tag/${src.tag}"; 38 description = "API wrapper for Melissa Climate"; 39 homepage = "https://github.com/kennedyshead/py-melissa-climate"; 40 license = lib.licenses.mit; 41 maintainers = [ lib.maintainers.jamiemagee ]; 42 }; 43}