depot/third_party/nixpkgs/pkgs/development/python-modules/validobj/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

35 lines
775 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
flit,
hypothesis,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "validobj";
version = "1.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-uwP2Mu10AiDWzlPMRH2+0CMSnibTB8KBY8QZNf+icNA=";
};
nativeBuildInputs = [ flit ];
nativeCheckInputs = [
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 ];
};
}