python311Packages.voluptuous: refactor
- add changelog to meta - add format - disable on unsupported Python releases
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user