python310Packages.hologram: init at 0.0.16

Co-Authored-By: Mauricio Scheffer <mauricioscheffer@gmail.com>
This commit is contained in:
Theodore Ni 2023-07-13 20:40:58 -07:00
parent 8c7af7b7c4
commit aa148a31bd
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, jsonschema
, pytestCheckHook
, python-dateutil
, setuptools
}:
buildPythonPackage rec {
pname = "hologram";
version = "0.0.16";
format = "pyproject";
src = fetchFromGitHub {
owner = "dbt-labs";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-DboVCvByI8bTThamGBwSiQADGxIaEnTMmwmVI+4ARgc=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
jsonschema
python-dateutil
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"hologram"
];
meta = with lib; {
description = "A library for automatically generating Draft 7 JSON Schemas from Python dataclasses";
homepage = "https://github.com/dbt-labs/hologram";
license = licenses.mit;
maintainers = with maintainers; [ mausch tjni ];
};
}

View file

@ -4754,6 +4754,8 @@ self: super: with self; {
holidays = callPackage ../development/python-modules/holidays { };
hologram = callPackage ../development/python-modules/hologram { };
holoviews = callPackage ../development/python-modules/holoviews { };
home-assistant-bluetooth = callPackage ../development/python-modules/home-assistant-bluetooth { };