python3Packages.psygnal: import at 0.2.0

This commit is contained in:
Someone Serge
2021-12-31 18:22:50 +02:00
parent eb293e3d2d
commit 6c3069f4b4
2 changed files with 37 additions and 0 deletions
@@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, wheel
, setuptools
, setuptools_scm
, pytestCheckHook
, pytest-mypy-plugins
, pytest-cov
, pytest
, mypy
, typing-extensions
}: buildPythonPackage rec
{
pname = "psygnal";
version = "0.2.0";
src = fetchFromGitHub {
owner = "tlambert03";
repo = pname;
rev = "v${version}";
sha256 = "sha256-SiG2ywNEw3aNrRXyEMFTnvHKtKowO8yqoCaNI8PT4/Y=";
};
buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ typing-extensions ];
checkInputs = [ pytestCheckHook pytest-cov pytest-mypy-plugins ];
doCheck = false; # mypy checks are failing
SETUPTOOLS_SCM_PRETEND_VERSION = version;
meta = with lib; {
description = "Pure python implementation of Qt Signals";
homepage = "https://github.com/tlambert03/psygnal";
license = licenses.bsd3;
maintainers = with maintainers; [ SomeoneSerge ];
};
}
+2
View File
@@ -6285,6 +6285,8 @@ in {
psycopg2cffi = callPackage ../development/python-modules/psycopg2cffi { };
psygnal = callPackage ../development/python-modules/psygnal { };
ptable = callPackage ../development/python-modules/ptable { };
ptest = callPackage ../development/python-modules/ptest { };