python310Packages.hologram: init at 0.0.16
Co-Authored-By: Mauricio Scheffer <mauricioscheffer@gmail.com>
This commit is contained in:
parent
8c7af7b7c4
commit
aa148a31bd
2 changed files with 47 additions and 0 deletions
45
pkgs/development/python-modules/hologram/default.nix
Normal file
45
pkgs/development/python-modules/hologram/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue