Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 77 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778{ lib, stdenv, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies boltons, orjson, pyrsistent, zope-interface,
# tests addBinToPathHook, dask, distributed, hypothesis, pandas, pytestCheckHook, testtools, twisted, daemontools,}:
buildPythonPackage (finalAttrs: { pname = "eliot"; version = "1.17.5"; pyproject = true;
src = fetchFromGitHub { owner = "itamarst"; repo = "eliot"; tag = finalAttrs.version; hash = "sha256-x6zonKL6Ys1fyUjyOgVgucAN64Dt6dCzdBrxRZa+VDQ="; };
patches = [ # Upstream PR: https://github.com/itamarst/eliot/pull/520 ./python-3.14.patch ];
build-system = [ setuptools ];
dependencies = [ boltons orjson pyrsistent zope-interface ];
nativeCheckInputs = [ addBinToPathHook dask distributed hypothesis pandas pytestCheckHook testtools twisted ] ++ lib.optionals stdenv.hostPlatform.isLinux [ daemontools ];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "eliot" ];
meta = { description = "Logging library that tells you why it happened"; homepage = "https://eliot.readthedocs.io"; changelog = "https://github.com/itamarst/eliot/blob/${finalAttrs.version}/docs/source/news.rst"; mainProgram = "eliot-prettyprint"; license = lib.licenses.asl20; };})