python3Packages.amplitude-analytics: init at 1.2.3
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "amplitude-analytics";
|
||||
version = "1.2.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amplitude";
|
||||
repo = "Amplitude-Python";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-on4TJPiPyznYkBeJsTd7W59KhN7UaSX5+XJaSjkqFaE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "amplitude" ];
|
||||
|
||||
meta = {
|
||||
description = "Official Amplitude backend Python SDK for server-side instrumentation";
|
||||
homepage = "https://github.com/amplitude/Amplitude-Python";
|
||||
downloadPage = "https://github.com/amplitude/Amplitude-Python/releases";
|
||||
changelog = "https://github.com/amplitude/Amplitude-Python/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ prince213 ];
|
||||
};
|
||||
})
|
||||
@@ -734,6 +734,8 @@ self: super: with self; {
|
||||
|
||||
ament-package = callPackage ../development/python-modules/ament-package { };
|
||||
|
||||
amplitude-analytics = callPackage ../development/python-modules/amplitude-analytics { };
|
||||
|
||||
amply = callPackage ../development/python-modules/amply { };
|
||||
|
||||
amqp = callPackage ../development/python-modules/amqp { };
|
||||
|
||||
Reference in New Issue
Block a user