159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
37 lines
819 B
Nix
37 lines
819 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pydevccu";
|
|
version = "0.1.8";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "danielperna84";
|
|
repo = "pydevccu";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-WguSTtWxkiDs5nK5eiaarfD0CBxzIxQR9fxjuW3wMGc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pydevccu" ];
|
|
|
|
meta = {
|
|
description = "HomeMatic CCU XML-RPC Server with fake devices";
|
|
homepage = "https://github.com/danielperna84/pydevccu";
|
|
changelog = "https://github.com/danielperna84/pydevccu/releases/tag/${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|