My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/psygnal/default.nix

35 lines
883 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, wheel
, setuptools
, setuptools-scm
, pytestCheckHook
, pytest-mypy-plugins
, pytest-cov
, pytest
, mypy
, typing-extensions
}: buildPythonPackage rec
{
pname = "psygnal";
version = "0.3.3";
src = fetchFromGitHub {
owner = "tlambert03";
repo = pname;
rev = "v${version}";
sha256 = "sha256-BQmcA1gD2i4sxROH+a7gStcNK1mXYVerIZ2y6gn8vI8=";
};
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 ];
};
}