blob: 7c00ebb9755f6f472256c6f17440157bfb18c321 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "python-ipware";
version = "3.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "un33k";
repo = "python-ipware";
tag = "v${version}";
hash = "sha256-S8/HbRztYGzrpLQRTHcvO7Zv3mNn/0+y5PNBYLpd++E=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "python_ipware" ];
meta = {
description = "Python package for server applications to retrieve client's IP address";
homepage = "https://github.com/un33k/python-ipware";
changelog = "https://github.com/un33k/python-ipware/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ e1mo ];
};
}
|