blob: 4121f93725a2632a947c0775ac91cfba141cbab2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{
aiohomematic,
buildPythonPackage,
setuptools,
}:
buildPythonPackage rec {
pname = "aiohomematic-test-support";
inherit (aiohomematic) version src;
pyproject = true;
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
'';
sourceRoot = "${src.name}/aiohomematic_test_support";
build-system = [ setuptools ];
pythonImportsCheck = [ "aiohomematic_test_support" ];
meta = {
description = "Support-only package for AioHomematic (tests/dev)";
homepage = "https://github.com/SukramJ/aiohomematic/tree/devel/aiohomematic_test_support";
inherit (aiohomematic.meta) license maintainers;
};
}
|