1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
34 lines
737 B
Nix
34 lines
737 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "napari-plugin-engine";
|
|
version = "0.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "napari";
|
|
repo = "napari-plugin-engine";
|
|
tag = "v${version}";
|
|
hash = "sha256-cKpCAEYYRq3UPje7REjzhEe1J9mmrtXs8TBnxWukcNE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
# Circular dependency: napari
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "napari_plugin_engine" ];
|
|
|
|
meta = {
|
|
description = "First generation napari plugin engine";
|
|
homepage = "https://github.com/napari/napari-plugin-engine";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ SomeoneSerge ];
|
|
};
|
|
}
|