567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
31 lines
656 B
Nix
31 lines
656 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
intervaltree,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipymarkup";
|
|
version = "0.9.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-P0v6EP1mKTIBr4SEp+a8tyO/LjPZpqoAiCZxr5yiaRE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ intervaltree ];
|
|
pythonImportsCheck = [ "ipymarkup" ];
|
|
|
|
# Upstream has no tests:
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Collection of NLP visualizations for NER and syntax tree markup";
|
|
homepage = "https://github.com/natasha/ipymarkup";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ npatsakula ];
|
|
};
|
|
}
|