1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 dateutils, 7 requests, 8 monotonic, 9 backoff, 10 unittestCheckHook, 11}: 12 13buildPythonPackage { 14 pname = "june-analytics-python"; 15 version = "unstable-2022-07-26"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "juneHQ"; 20 repo = "analytics-python"; 21 rev = "462b523a617fbadc016ace45e6eec5762a8ae45f"; 22 hash = "sha256-9IcikYQW1Q3aAyjIZw6UltD6cYFE+tBK+/EMQpRGCoQ="; 23 }; 24 25 pythonRelaxDeps = true; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 dateutils 31 requests 32 monotonic 33 backoff 34 ]; 35 36 nativeCheckInputs = [ 37 unittestCheckHook 38 ]; 39 40 unittestFlagsArray = [ "june" ]; 41 42 pythonImportsCheck = [ "june" ]; 43 44 meta = { 45 description = "Hassle-free way to integrate analytics into any python application"; 46 homepage = "https://github.com/juneHQ/analytics-python"; 47 license = lib.licenses.mit; 48 maintainers = with lib.maintainers; [ soyouzpanda ]; 49 }; 50}