c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
35 lines
783 B
Nix
35 lines
783 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pydevccu";
|
|
version = "0.1.6";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "danielperna84";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-r6QjtKEnMmWRfDAnxP5zMChCVwyi9Z2lFrYu7hPrTUg=";
|
|
};
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pydevccu"
|
|
];
|
|
|
|
meta = with lib; {
|
|
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 = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|