python37Packages.sniffio: 1.0.0 -> 1.1.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-sniffio/versions
This commit is contained in:
parent
62bd8f6d24
commit
e6a25e5645
@ -1,26 +1,27 @@
|
|||||||
{ buildPythonPackage, lib, fetchPypi, glibcLocales, isPy3k, contextvars
|
{ buildPythonPackage, lib, fetchPypi, glibcLocales, isPy3k, contextvars
|
||||||
, pythonOlder
|
, pythonOlder, pytest, curio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sniffio";
|
pname = "sniffio";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1dzb0nx3m1hpjgsv6s6w5ac2jcmywcz6gqnfkw8rwz1vkr1836rf";
|
sha256 = "8e3810100f69fe0edd463d02ad407112542a11ffdc29f67db2bf3771afb87a21";
|
||||||
};
|
};
|
||||||
|
|
||||||
# breaks with the following error:
|
|
||||||
# > TypeError: 'encoding' is an invalid keyword argument for this function
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
buildInputs = [ glibcLocales ];
|
buildInputs = [ glibcLocales ];
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.7") [ contextvars ];
|
propagatedBuildInputs = lib.optionals (pythonOlder "3.7") [ contextvars ];
|
||||||
|
|
||||||
# no tests distributed with PyPI
|
checkInputs = [ pytest curio ];
|
||||||
doCheck = false;
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/python-trio/sniffio;
|
homepage = https://github.com/python-trio/sniffio;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user