python3Packages.superqt: init at 0.2.5-1

This commit is contained in:
Someone Serge 2021-12-19 05:59:15 +02:00
parent a14d6f5936
commit 9b14333213
No known key found for this signature in database
GPG Key ID: A39079F4AE78D20D
3 changed files with 35 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, setuptools_scm

View File

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools_scm
, pyqt5
, typing-extensions
, pytest
, pytestCheckHook
}: buildPythonPackage rec {
pname = "superqt";
version = "0.2.5-1";
src = fetchFromGitHub {
owner = "napari";
repo = pname;
rev = "v${version}";
sha256 = "sha256-rkTiCJ8mIogS9SDmLPiaAyhhuBx3kk6rXjCc19zbwiM=";
};
format = "pyproject";
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ pyqt5 typing-extensions ];
checkInputs = [ pytestCheckHook pytest ];
doCheck = false; # Segfaults...
SETUPTOOLS_SCM_PRETEND_VERSION = version;
meta = with lib; {
description = "Missing widgets and components for Qt-python (napari/superqt)";
homepage = "https://github.com/napari/superqt";
license = licenses.bsd3;
maintainers = with maintainers; [ SomeoneSerge ];
};
}

View File

@ -9369,6 +9369,8 @@ in {
supervisor = callPackage ../development/python-modules/supervisor { };
superqt = callPackage ../development/python-modules/superqt { };
sure = callPackage ../development/python-modules/sure { };
surepy = callPackage ../development/python-modules/surepy { };