about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/psygnal/default.nix
blob: 94cfaaa78c5c27c58643e427e690843b084422d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib
, buildPythonPackage
, fetchFromGitHub
, wheel
, setuptools
, setuptools-scm
, pytestCheckHook
, pytest-mypy-plugins
, pytest-cov
, pytest
, mypy
, typing-extensions
}: buildPythonPackage rec
{
  pname = "psygnal";
  version = "0.3.0";
  src = fetchFromGitHub {
    owner = "tlambert03";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-vrGym/V0cSGIjBWMWpDrPBijEOFayK1vdR02gsWzRvo=";
  };
  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 ];
  };
}