blob: bf4b0d82b0ce8c7995b5b14580e6602411d867dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
buildPythonPackage,
fetchFromGitHub,
freezegun,
httmock,
lib,
pytestCheckHook,
requests,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "snowplow-tracker";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "snowplow";
repo = "snowplow-python-tracker";
tag = version;
hash = "sha256-GfKMoMUUOxiUcUVdDc6YGgO+CVRvFjDtqQU/FrTO41U=";
};
build-system = [ setuptools ];
dependencies = [
requests
typing-extensions
];
pythonImportsCheck = [ "snowplow_tracker" ];
nativeCheckInputs = [
httmock
freezegun
pytestCheckHook
];
meta = {
changelog = "https://github.com/snowplow/snowplow-python-tracker/blob/${src.tag}/CHANGES.txt";
description = "Add analytics to your Python and Django apps, webapps and games";
homepage = "https://github.com/snowplow/snowplow-python-tracker";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|