diff options
author | Someone Serge <sergei.kozlukov@aalto.fi> | 2021-12-19 05:11:10 +0200 |
---|---|---|
committer | Someone Serge <sergei.kozlukov@aalto.fi> | 2021-12-31 18:22:50 +0200 |
commit | 6c3069f4b4c7a554831de90d2875391ff4e273fe (patch) | |
tree | 444703ebafad129ef74d2f487071a5a5459ac8a5 /pkgs/development/python-modules/psygnal | |
parent | eb293e3d2d632328f2f95a5975e3f6b778d2a2c6 (diff) |
python3Packages.psygnal: import at 0.2.0
Diffstat (limited to 'pkgs/development/python-modules/psygnal')
-rw-r--r-- | pkgs/development/python-modules/psygnal/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/psygnal/default.nix b/pkgs/development/python-modules/psygnal/default.nix new file mode 100644 index 0000000000000..da61f52fa0f8a --- /dev/null +++ b/pkgs/development/python-modules/psygnal/default.nix @@ -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 ]; + }; +} |