bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
35 lines
855 B
Nix
35 lines
855 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, setuptools-scm
|
|
, pyqt5
|
|
, qtpy
|
|
, typing-extensions
|
|
, pytest
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "superqt";
|
|
version = "0.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "napari";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-DPjJxOgybNvZ3YvYHr48fmx59Puck61Dzm2G4M9qKo4=";
|
|
};
|
|
format = "pyproject";
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
propagatedBuildInputs = [ pyqt5 qtpy 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 ];
|
|
};
|
|
}
|