Init
This commit is contained in:
40
xsdata-pydantic.nix
Normal file
40
xsdata-pydantic.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
xsdata,
|
||||
pydantic,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xsdata-pydantic";
|
||||
version = "24.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tefra";
|
||||
repo = "xsdata-pydantic";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ExgAXQRNfGQRSZdMuWc8ldJPqz+3c4Imgu75KXLXHNk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
xsdata
|
||||
pydantic
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"xsdata_pydantic"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Naive XML & JSON Bindings for python pydantic classes!";
|
||||
homepage = "https://github.com/tefra/xsdata-pydantic";
|
||||
maintainers = with lib.maintainers; [ berrij ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user