nixpkgs/pkgs/development/python-modules/broadlink/default.nix

33 lines
594 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, cryptography
}:
2018-11-02 11:12:07 +01:00
buildPythonPackage rec {
pname = "broadlink";
version = "0.18.0";
2018-11-02 11:12:07 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "c66b3e4a097d6549f0fcc9ccdf289bd88f73f647ad9449e1c4e2958301ad1b04";
2018-11-02 11:12:07 +01:00
};
propagatedBuildInputs = [
cryptography
];
2018-11-02 11:12:07 +01:00
# no tests available
doCheck = false;
pythonImportsCheck = [
"broadlink"
];
2018-11-02 11:12:07 +01:00
meta = with lib; {
description = "Python API for controlling Broadlink IR controllers";
homepage = "https://github.com/mjg59/python-broadlink";
2018-11-02 11:12:07 +01:00
license = licenses.mit;
};
}