blob: 10b88d089c355544c3baefbe74b2b6b97450ffdb (
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
|
{
lib,
buildPythonPackage,
fetchFromGitLab,
hatchling,
pytestCheckHook,
requests,
urllib3,
waitress,
}:
buildPythonPackage rec {
pname = "requests-unixsocket2";
version = "1.0.1";
pyproject = true;
src = fetchFromGitLab {
owner = "thelabnyc";
repo = "requests-unixsocket2";
tag = "v${version}";
hash = "sha256-KgPIecKQibB5ZH+itw3OM9heSE3uDuodNS1R9dRkaHE=";
};
build-system = [ hatchling ];
dependencies = [
requests
urllib3
];
nativeCheckInputs = [
pytestCheckHook
waitress
];
pythonImportsCheck = [ "requests_unixsocket" ];
meta = {
changelog = "https://gitlab.com/thelabnyc/requests-unixsocket2/-/blob/${src.tag}/CHANGELOG.md";
description = "Use requests to talk HTTP via a UNIX domain socket";
homepage = "https://gitlab.com/thelabnyc/requests-unixsocket2";
license = lib.licenses.bsd0;
maintainers = with lib.maintainers; [ mikut ];
};
}
|