python311Packages.voluptuous: refactor

- add changelog to meta
- add format
- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter
2023-12-20 20:46:06 +01:00
committed by Martin Weinelt
parent f75df462bd
commit 65ee1d74f8
@@ -3,6 +3,7 @@
, fetchFromGitHub
, setuptools
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
@@ -10,9 +11,11 @@ buildPythonPackage rec {
version = "0.14.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "alecthomas";
repo = pname;
repo = "voluptuous";
rev = "refs/tags/${version}";
hash = "sha256-7KXuypcKoqZboHTzoNKK5sYUR57wWGJu6y9zkLecep0=";
};
@@ -37,6 +40,7 @@ buildPythonPackage rec {
description = "Python data validation library";
downloadPage = "https://github.com/alecthomas/voluptuous";
homepage = "http://alecthomas.github.io/voluptuous/";
changelog = "https://github.com/alecthomas/voluptuous/blob/${version}/CHANGELOG.md";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};