mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
python311Packages.safety-schemas: init at 0.0.2
This commit is contained in:
parent
7a2f43739c
commit
9771361a32
52
pkgs/development/python-modules/safety-schemas/default.nix
Normal file
52
pkgs/development/python-modules/safety-schemas/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, hatchling
|
||||
, pythonRelaxDepsHook
|
||||
, dparse
|
||||
, packaging
|
||||
, pydantic
|
||||
, ruamel-yaml
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "safety-schemas";
|
||||
version = "0.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "safety_schemas";
|
||||
inherit version;
|
||||
hash = "sha256-fRsEDsBkgPBc/2tF6nqT4JyJQt+GT7DQHd62fDI8+ow=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"dparse"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dparse
|
||||
packaging
|
||||
pydantic
|
||||
ruamel-yaml
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "safety_schemas" ];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Schemas for Safety CLI";
|
||||
homepage = "https://pypi.org/project/safety-schemas/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -13166,6 +13166,8 @@ self: super: with self; {
|
||||
|
||||
safety = callPackage ../development/python-modules/safety { };
|
||||
|
||||
safety-schemas = callPackage ../development/python-modules/safety-schemas { };
|
||||
|
||||
sagemaker = callPackage ../development/python-modules/sagemaker { };
|
||||
|
||||
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
|
||||
|
Loading…
Reference in New Issue
Block a user