Files
nixpkgs/pkgs/development/python-modules/neurio/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
761 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "neurio";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "jordanh";
repo = "neurio-python";
tag = version;
hash = "sha256-Kyjx+76OR3fpA9p/Zg7S4/vuGuNU2kb022BijoNMSUI=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# Project has tests but they require actual API credentials
doCheck = false;
pythonImportsCheck = [ "neurio" ];
meta = {
description = "Neurio energy sensor and appliance automation API library";
homepage = "https://github.com/jordanh/neurio-python";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.jamiemagee ];
};
}