mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
48 lines
839 B
Nix
48 lines
839 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatchling,
|
|
dparse,
|
|
packaging,
|
|
pydantic,
|
|
ruamel-yaml,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "safety-schemas";
|
|
version = "0.0.5";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "safety_schemas";
|
|
inherit version;
|
|
hash = "sha256-DeX8mlPUQjZEqM6aF6LkdHFKon5X81BhRulaQXEP8QQ=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
pythonRelaxDeps = [ "dparse" ];
|
|
|
|
dependencies = [
|
|
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 ];
|
|
};
|
|
}
|