blob: 9496f0cb081edfe19cee8c29aecf3fc08051851d (
plain) (
blame)
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
|
{ buildPythonPackage
, lib
, fetchPypi
, setuptools
, setuptools-scm
, glibcLocales
, isPy3k
, pytestCheckHook
, curio
}:
buildPythonPackage rec {
pname = "sniffio";
version = "1.3.1";
pyproject = true;
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
hash = "sha256-9DJO3GcKD0l1CoG4lfNcOtuEPMpG8FMPefwbq7I3idw=";
};
build-system = [
setuptools
setuptools-scm
];
buildInputs = [
glibcLocales
];
nativeCheckInputs = [
curio
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/python-trio/sniffio";
license = licenses.asl20;
description = "Sniff out which async library your code is running under";
};
}
|