nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 async-timeout,
7}:
8
9buildPythonPackage rec {
10 pname = "pyevilgenius";
11 version = "2.0.0";
12 format = "setuptools";
13
14 src = fetchFromGitHub {
15 owner = "home-assistant-libs";
16 repo = "pyevilgenius";
17 rev = version;
18 hash = "sha256-wjC32oq/lW3Z4XB+4SILRKIOuCgBKk1gruOo4uc/4/o=";
19 };
20
21 propagatedBuildInputs = [
22 aiohttp
23 async-timeout
24 ];
25
26 # Project has no test
27 doCheck = false;
28
29 pythonImportsCheck = [ "pyevilgenius" ];
30
31 meta = {
32 description = "Python SDK to interact with Evil Genius Labs devices";
33 homepage = "https://github.com/home-assistant-libs/pyevilgenius";
34 changelog = "https://github.com/home-assistant-libs/pyevilgenius/releases/tag/${version}";
35 license = with lib.licenses; [ asl20 ];
36 maintainers = with lib.maintainers; [ fab ];
37 };
38}