nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 63 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatch-vcs, 6 hatchling, 7 mypy-extensions, 8 numpy, 9 pydantic, 10 pytest-asyncio, 11 pytestCheckHook, 12 toolz, 13 typing-extensions, 14 wrapt, 15 attrs, 16}: 17 18buildPythonPackage rec { 19 pname = "psygnal"; 20 version = "0.15.1"; 21 pyproject = true; 22 23 src = fetchFromGitHub { 24 owner = "pyapp-kit"; 25 repo = "psygnal"; 26 tag = "v${version}"; 27 hash = "sha256-7d9ejzdafoH14fKvYJd3OwYS0RGwDmMeLlj74qvsvjE="; 28 }; 29 30 build-system = [ 31 hatch-vcs 32 hatchling 33 ]; 34 35 dependencies = [ 36 mypy-extensions 37 typing-extensions 38 ]; 39 40 nativeCheckInputs = [ 41 numpy 42 pydantic 43 pytest-asyncio 44 pytestCheckHook 45 toolz 46 wrapt 47 attrs 48 ]; 49 50 pytestFlags = [ 51 "-Wignore::pydantic.warnings.PydanticDeprecatedSince211" 52 ]; 53 54 pythonImportsCheck = [ "psygnal" ]; 55 56 meta = { 57 description = "Implementation of Qt Signals"; 58 homepage = "https://github.com/pyapp-kit/psygnal"; 59 changelog = "https://github.com/pyapp-kit/psygnal/blob/${src.tag}/CHANGELOG.md"; 60 license = lib.licenses.bsd3; 61 maintainers = with lib.maintainers; [ SomeoneSerge ]; 62 }; 63}