My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pyoppleio/default.nix

37 lines
683 B

{ 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";
homepage = "https://github.com/jedmeng/python-oppleio";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}