Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
974 B
Nix
51 lines
974 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
dateutils,
|
|
requests,
|
|
monotonic,
|
|
backoff,
|
|
unittestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "june-analytics-python";
|
|
version = "unstable-2022-07-26";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "juneHQ";
|
|
repo = "analytics-python";
|
|
rev = "462b523a617fbadc016ace45e6eec5762a8ae45f";
|
|
hash = "sha256-9IcikYQW1Q3aAyjIZw6UltD6cYFE+tBK+/EMQpRGCoQ=";
|
|
};
|
|
|
|
pythonRelaxDeps = true;
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
dateutils
|
|
requests
|
|
monotonic
|
|
backoff
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
unittestCheckHook
|
|
];
|
|
|
|
unittestFlagsArray = [ "june" ];
|
|
|
|
pythonImportsCheck = [ "june" ];
|
|
|
|
meta = {
|
|
description = "Hassle-free way to integrate analytics into any python application";
|
|
homepage = "https://github.com/juneHQ/analytics-python";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ soyouzpanda ];
|
|
};
|
|
}
|