checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
23 lines
577 B
Nix
23 lines
577 B
Nix
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hyperframe";
|
|
version = "6.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ae510046231dc8e9ecb1a6586f63d2347bf4c8905914aa84ba585ae85f28a914";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "hyperframe" ];
|
|
|
|
meta = with lib; {
|
|
description = "HTTP/2 framing layer for Python";
|
|
homepage = "https://github.com/python-hyper/hyperframe/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|