depot/third_party/nixpkgs/pkgs/development/python-modules/safety-schemas/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

49 lines
859 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
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
];
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 ];
};
}