depot/third_party/nixpkgs/pkgs/development/python-modules/superqt/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

31 lines
843 B
Nix

{ 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 ];
};
}