pretender: 1.2.0 -> 1.3.0 (#378434)
[NixPkgs.git] / pkgs / development / python-modules / validobj / default.nix
blob65076a08843dad96d6b55776501ffc53485585ac
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   flit,
6   hypothesis,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "validobj";
12   version = "1.2";
13   format = "pyproject";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-uwP2Mu10AiDWzlPMRH2+0CMSnibTB8KBY8QZNf+icNA=";
18   };
20   nativeBuildInputs = [ flit ];
22   nativeCheckInputs = [
23     hypothesis
24     pytestCheckHook
25   ];
27   pythonImportsCheck = [ "validobj" ];
29   meta = with lib; {
30     description = "Validobj is library that takes semistructured data (for example JSON and YAML configuration files) and converts it to more structured Python objects";
31     homepage = "https://github.com/Zaharid/validobj";
32     license = with licenses; [ mit ];
33     maintainers = with maintainers; [ veprbl ];
34   };