depot/third_party/nixpkgs/pkgs/development/python-modules/validobj/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

31 lines
759 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flit
, hypothesis
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "validobj";
version = "1.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-j1WbPVqYbxoshcvRvc/w0T+YknoSABZ9CrzXzCDSErA=";
};
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 ];
};
}