python3Packages.picologging: init at 0.9.4
This commit is contained in:
parent
1dd9f1d67d
commit
e0b119b80f
56
pkgs/development/python-modules/picologging/default.nix
Normal file
56
pkgs/development/python-modules/picologging/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
scikit-build,
|
||||
cmake,
|
||||
ninja,
|
||||
python,
|
||||
flaky,
|
||||
hypothesis,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "picologging";
|
||||
version = "0.9.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
# 0.9.4 only release on github
|
||||
owner = "microsoft";
|
||||
repo = "picologging";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-t75D7aNKAifzeCPwtyKp8LoiXtbbXspRFYnsI0gx+V4=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
cmake
|
||||
scikit-build
|
||||
ninja
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
dependencies = [
|
||||
flaky
|
||||
hypothesis
|
||||
];
|
||||
|
||||
pythonImportCheck = [ "picologging" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/microsoft/picologging";
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||
changelog = "https://github.com/microsoft/picologging/releases/tag/${version}";
|
||||
description = "optimized logging library for Python";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
@ -45,6 +45,8 @@ buildPythonPackage rec {
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
pythonImporeCheck = [ "polyfactory" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://polyfactory.litestar.dev/";
|
||||
platforms = lib.platforms.unix;
|
||||
|
@ -10166,6 +10166,8 @@ self: super: with self; {
|
||||
|
||||
picobox = callPackage ../development/python-modules/picobox { };
|
||||
|
||||
picologging = callPackage ../development/python-modules/picologging { };
|
||||
|
||||
picos = callPackage ../development/python-modules/picos { };
|
||||
|
||||
picosvg = callPackage ../development/python-modules/picosvg { };
|
||||
|
Loading…
Reference in New Issue
Block a user