depot/third_party/nixpkgs/pkgs/development/python-modules/pyoppleio/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

38 lines
712 B
Nix

{ lib
, buildPythonPackage
, crc16
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyoppleio";
version = "1.0.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-S1w3pPqhX903kkXUq9ALz0+zRvNGOimLughRRVKjV8E=";
};
propagatedBuildInputs = [
crc16
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"pyoppleio"
];
meta = with lib; {
description = "Library for interacting with OPPLE lights";
mainProgram = "oppleio";
homepage = "https://github.com/jedmeng/python-oppleio";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}