depot/third_party/nixpkgs/pkgs/development/python-modules/blinker/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

40 lines
797 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# build-system
flit-core,
# tests
pytestCheckHook,
pytest-asyncio,
}:
buildPythonPackage rec {
pname = "blinker";
version = "1.8.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-j3ewnTv3x5XpaelIbznCxenDnU7gdCS+K8WU7OlkLYM=";
};
nativeBuildInputs = [ flit-core ];
pythonImportsCheck = [ "blinker" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
meta = with lib; {
changelog = "https://github.com/pallets-eco/blinker/releases/tag/${version}";
description = "Fast Python in-process signal/event dispatching system";
homepage = "https://github.com/pallets-eco/blinker/";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}