python311Packages.pyngo: init at 1.6.0
Pydantic model support for Django & Django-Rest-Framework ✨ https://github.com/yezz123/pyngo
This commit is contained in:
parent
faf93f9750
commit
ed8994dfba
56
pkgs/development/python-modules/pyngo/default.nix
Normal file
56
pkgs/development/python-modules/pyngo/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, hatchling
|
||||
|
||||
# dependencies
|
||||
, django
|
||||
, pydantic
|
||||
, typing-extensions
|
||||
|
||||
# tests
|
||||
, django-stubs
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyngo";
|
||||
version = "1.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yezz123";
|
||||
repo = "pyngo";
|
||||
rev = version;
|
||||
hash = "sha256-qOY1ILMDqSguLnbhuu5JJVMvG3uA08Lv2fB70TgrKqI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
pydantic
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyngo" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
django-stubs
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/yezz123/pyngo/releases/tag/${version}";
|
||||
description = "Pydantic model support for Django & Django-Rest-Framework";
|
||||
homepage = "https://github.com/yezz123/pyngo";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -9232,6 +9232,8 @@ self: super: with self; {
|
||||
|
||||
pylddwrap = callPackage ../development/python-modules/pylddwrap { };
|
||||
|
||||
pyngo = callPackage ../development/python-modules/pyngo { };
|
||||
|
||||
pyngrok = callPackage ../development/python-modules/pyngrok { };
|
||||
|
||||
pynndescent = callPackage ../development/python-modules/pynndescent { };
|
||||
|
Loading…
Reference in New Issue
Block a user