Files
nixpkgs/pkgs/development/python-modules/validobj/default.nix
2025-12-22 11:13:51 +00:00

36 lines
773 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
flit,
hypothesis,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "validobj";
version = "1.5";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-n2CEcZTPr57tbRhw5uFmcWZ1kHdBt2VzG/fS4+LDSyc=";
};
nativeBuildInputs = [ flit ];
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
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";
homepage = "https://github.com/Zaharid/validobj";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ veprbl ];
};
}