nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 aiozoneinfo,
5 buildPythonPackage,
6 fetchFromGitHub,
7 pydantic,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "lacrosse-view";
13 version = "1.1.1";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "IceBotYT";
18 repo = "lacrosse_view";
19 tag = "v${version}";
20 hash = "sha256-fIeVRqGEL79pOl/zAk3nrrgOgfvlujjK3sFfPVWfUxM=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 aiohttp
27 aiozoneinfo
28 pydantic
29 ];
30
31 # No tests
32 doCheck = false;
33
34 pythonImportsCheck = [ "lacrosse_view" ];
35
36 meta = {
37 description = "Client for retrieving data from the La Crosse View cloud";
38 homepage = "https://github.com/IceBotYT/lacrosse_view";
39 changelog = "https://github.com/IceBotYT/lacrosse_view/releases/tag/v${version}";
40 license = lib.licenses.mit;
41 maintainers = [ lib.maintainers.jamiemagee ];
42 };
43}