blob: ff23723e924d1080702138dfef1cb95ca136f3b1 (
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
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
voluptuous,
}:
buildPythonPackage rec {
pname = "voluptuous-serialize";
version = "2.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "voluptuous-serialize";
tag = version;
hash = "sha256-vmBK4FJr15wOYHtH14OqeyY/vgVOSrpo0Sd9wqu4zgo=";
};
build-system = [ setuptools ];
dependencies = [ voluptuous ];
pythonImportsCheck = [ "voluptuous_serialize" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Convert Voluptuous schemas to dictionaries so they can be serialized";
homepage = "https://github.com/home-assistant-libs/voluptuous-serialize";
changelog = "https://github.com/home-assistant-libs/voluptuous-serialize/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
|