python313Packages.validobj: modernize
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
flit,
|
||||
flit-core,
|
||||
hypothesis,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
@@ -10,14 +10,14 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "validobj";
|
||||
version = "1.6";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-dXUvInNYkl10zdGQhJ6h1JqCNlZ+VsvwnEMb2xj6qOA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flit ];
|
||||
build-system = [ flit-core ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
@@ -27,9 +27,9 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "validobj" ];
|
||||
|
||||
meta = {
|
||||
description = "Validobj is library that takes semistructured data (for example JSON and YAML configuration files) and converts it to more structured Python objects";
|
||||
description = "Library that takes semistructured data (for example JSON and YAML configuration files) and converts it to more structured Python objects";
|
||||
homepage = "https://github.com/Zaharid/validobj";
|
||||
license = with lib.licenses; [ mit ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user