depot/third_party/nixpkgs/pkgs/development/python-modules/blinker/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
797 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# build-system
flit-core,
# tests
pytestCheckHook,
pytest-asyncio,
}:
buildPythonPackage rec {
pname = "blinker";
version = "1.7.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-5oIP9vpOTR2OJ0fCKDdJw/VH5P7hErmFVc3NrjKZYYI=";
};
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; [ ];
};
}