python3Packages.pydantic-yaml: remove package
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pydantic,
|
||||
ruamel-yaml,
|
||||
typing-extensions,
|
||||
setuptools-scm,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydantic-yaml";
|
||||
version = "1.6.0";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NowanIlfideme";
|
||||
repo = "pydantic-yaml";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-n5QWVHgYAg+Ad7Iv6CBSRQcl8lv4ZtcFMiC2ZHyi414=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/pydantic_yaml/version.py \
|
||||
--replace-fail "0.0.0" "${version}"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
dependencies = [
|
||||
pydantic
|
||||
ruamel-yaml
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pydantic_yaml" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Small helper library that adds some YAML capabilities to pydantic";
|
||||
homepage = "https://github.com/NowanIlfideme/pydantic-yaml";
|
||||
changelog = "https://github.com/NowanIlfideme/pydantic-yaml/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
adhityaravi
|
||||
bepri
|
||||
dstathis
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -12801,8 +12801,6 @@ self: super: with self; {
|
||||
|
||||
pydantic-settings = callPackage ../development/python-modules/pydantic-settings { };
|
||||
|
||||
pydantic-yaml = callPackage ../development/python-modules/pydantic-yaml { };
|
||||
|
||||
pydantic_1 = callPackage ../development/python-modules/pydantic/1.nix { };
|
||||
|
||||
pydash = callPackage ../development/python-modules/pydash { };
|
||||
|
||||
Reference in New Issue
Block a user