Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839{ lib, buildPythonPackage, fetchFromGitLab, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "logboth"; version = "0.4.0"; pyproject = true;
src = fetchFromGitLab { owner = "zehkira"; repo = "logboth"; tag = "v${finalAttrs.version}"; hash = "sha256-B+J7l8/IR7I85CTxcW3hFqOVHP6ig9MsNd72x4JGsYY="; };
build-system = [ setuptools ];
checkPhase = '' runHook preInstallCheck
python3 source/tests/tests.py
runHook postInstallCheck '';
pythonImportsCheck = [ "logboth" ];
meta = { description = "Easily write logs to standard output and a file at the same time"; homepage = "https://gitlab.com/zehkira/logboth"; license = lib.licenses.bsd0; maintainers = with lib.maintainers; [ aleksana ]; };})