From 0d08004dc9acabce5aaacc2d92142c36612451a4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 22 Feb 2023 00:49:32 +0100 Subject: [PATCH] python310Packages.voluptuous-serialize: add changelog to meta - disable on unsupported Python releases - add myself as maintainer - adjust inputs --- .../voluptuous-serialize/default.nix | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/voluptuous-serialize/default.nix b/pkgs/development/python-modules/voluptuous-serialize/default.nix index f35ab607a07c..c5e0093f4487 100644 --- a/pkgs/development/python-modules/voluptuous-serialize/default.nix +++ b/pkgs/development/python-modules/voluptuous-serialize/default.nix @@ -1,7 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub -, isPy3k +, pythonOlder , pytestCheckHook , voluptuous }: @@ -11,7 +11,7 @@ buildPythonPackage rec { version = "2.6.0"; format = "setuptools"; - disabled = !isPy3k; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "home-assistant-libs"; @@ -24,19 +24,19 @@ buildPythonPackage rec { voluptuous ]; - nativeCheckInputs = [ - pytestCheckHook - voluptuous - ]; - pythonImportsCheck = [ "voluptuous_serialize" ]; + nativeCheckInputs = [ + pytestCheckHook + ]; + meta = with lib; { - homepage = "https://github.com/home-assistant-libs/voluptuous-serialize"; - license = licenses.asl20; description = "Convert Voluptuous schemas to dictionaries so they can be serialized"; - maintainers = with maintainers; [ ]; + homepage = "https://github.com/home-assistant-libs/voluptuous-serialize"; + changelog = "https://github.com/home-assistant-libs/voluptuous-serialize/releases/tag/${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; }; }