depot/third_party/nixpkgs/pkgs/development/python-modules/blinker/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

43 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; [ ];
};
}