nixpkgs/pkgs/development/python-modules/napari-plugin-engine/default.nix
2021-12-31 18:24:13 +02:00

27 lines
722 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
, pytestCheckHook
}: buildPythonPackage rec {
pname = "napari-plugin-engine";
version = "0.2.0";
src = fetchFromGitHub {
owner = "napari";
repo = pname;
rev = "v${version}";
sha256 = "sha256-cKpCAEYYRq3UPje7REjzhEe1J9mmrtXs8TBnxWukcNE=";
};
nativeBuildInputs = [ setuptools-scm ];
checkInputs = [ pytestCheckHook ];
doCheck = false;
SETUPTOOLS_SCM_PRETEND_VERSION = version;
meta = with lib; {
description = "A fork of pluggy for napari - plugin management package";
homepage = "https://github.com/napari/napari-plugin-engine";
license = licenses.mit;
maintainers = with maintainers; [ SomeoneSerge ];
};
}