Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
732 B · 30 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031{ lib, buildPythonPackage, fetchFromGitHub, cryptography}:
buildPythonPackage rec { pname = "pyxiaomigateway"; version = "0.14.3";
src = fetchFromGitHub { owner = "Danielhiversen"; repo = "PyXiaomiGateway"; rev = version; hash = "sha256-TAbZvs1RrUy9+l2KpfbBopc3poTy+M+Q3ERQLFYbQis="; };
propagatedBuildInputs = [ cryptography ];
# Tests are not mocking the gateway completely doCheck = false; pythonImportsCheck = [ "xiaomi_gateway" ];
meta = with lib; { description = "Python library to communicate with the Xiaomi Gateway"; homepage = "https://github.com/Danielhiversen/PyXiaomiGateway/"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}