python3Packages.validict: init at 0.5.1 (#171558)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Dmitry Kalinkin
2022-05-11 15:18:31 +02:00
committed by GitHub
co-authored by Sandro
parent 84e9d941ce
commit 0a2adbd847
2 changed files with 33 additions and 0 deletions
@@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, flit
, hypothesis
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "validobj";
version = "0.5.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "430b0b56931a2cebdb857a9fe9da2467c06a3b4db37b728e7f1a8706e8887705";
};
nativeBuildInputs = [ flit ];
checkInputs = [ hypothesis pytestCheckHook ];
pythonImportsCheck = [ "validobj" ];
meta = with lib; {
description = "Validobj is 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 licenses; [ mit ];
maintainers = with maintainers; [ veprbl ];
};
}
+2
View File
@@ -10722,6 +10722,8 @@ in {
validictory = callPackage ../development/python-modules/validictory { };
validobj = callPackage ../development/python-modules/validobj { };
variants = callPackage ../development/python-modules/variants { };
varint = callPackage ../development/python-modules/varint { };