nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 35 lines 883 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, wheel 5, setuptools 6, setuptools-scm 7, pytestCheckHook 8, pytest-mypy-plugins 9, pytest-cov 10, pytest 11, mypy 12, typing-extensions 13}: buildPythonPackage rec 14{ 15 pname = "psygnal"; 16 version = "0.3.3"; 17 src = fetchFromGitHub { 18 owner = "tlambert03"; 19 repo = pname; 20 rev = "v${version}"; 21 sha256 = "sha256-BQmcA1gD2i4sxROH+a7gStcNK1mXYVerIZ2y6gn8vI8="; 22 }; 23 buildInputs = [ setuptools-scm ]; 24 propagatedBuildInputs = [ typing-extensions ]; 25 checkInputs = [ pytestCheckHook pytest-cov pytest-mypy-plugins ]; 26 doCheck = false; # mypy checks are failing 27 SETUPTOOLS_SCM_PRETEND_VERSION = version; 28 29 meta = with lib; { 30 description = "Pure python implementation of Qt Signals"; 31 homepage = "https://github.com/tlambert03/psygnal"; 32 license = licenses.bsd3; 33 maintainers = with maintainers; [ SomeoneSerge ]; 34 }; 35}