nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 767 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6}: 7 8buildPythonPackage rec { 9 pname = "aionanoleaf"; 10 version = "0.2.1"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "milanmeu"; 15 repo = "aionanoleaf"; 16 tag = "v${version}"; 17 hash = "sha256-f0TyXhuAzI0s0n6sXH9mKWA4nad2YchZkQ0+jw/Bmv0="; 18 }; 19 20 propagatedBuildInputs = [ aiohttp ]; 21 22 # Project has no tests 23 doCheck = false; 24 25 pythonImportsCheck = [ "aionanoleaf" ]; 26 27 meta = { 28 description = "Python wrapper for the Nanoleaf API"; 29 homepage = "https://github.com/milanmeu/aionanoleaf"; 30 changelog = "https://github.com/milanmeu/aionanoleaf/releases/tag/v${version}"; 31 license = lib.licenses.lgpl3Plus; 32 maintainers = with lib.maintainers; [ fab ]; 33 }; 34}