depot/third_party/nixpkgs/pkgs/development/python-modules/temescal/default.nix

38 lines
688 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pycryptodome
}:
buildPythonPackage rec {
pname = "temescal";
version = "0.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-MfTftheNj8zI3iXIIJU+jy9xikvX9eO58LA0NCMJBnY=";
};
propagatedBuildInputs = [
pycryptodome
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"temescal"
];
meta = with lib; {
description = "Module for interacting with LG speaker systems";
homepage = "https://github.com/google/python-temescal";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}