13 buildPythonPackage rec {
18 src = fetchFromGitHub {
21 rev = "refs/tags/v${version}";
22 hash = "sha256-wHCTqcBvVN/pTXH3iW57DPpMEsnehutRQB5NaugS6Zs=";
25 nativeBuildInputs = [ setuptools ];
27 propagatedBuildInputs = [
34 nativeCheckInputs = [ pytestCheckHook ];
36 pythonImportsCheck = [ "pymatting" ];
39 # no access to input data set
40 # see: https://github.com/pymatting/pymatting/blob/master/tests/download_images.py
43 "test_preconditioners"
48 description = "Python library for alpha matting";
49 homepage = "https://github.com/pymatting/pymatting";
50 changelog = "https://github.com/pymatting/pymatting/blob/${src.rev}/CHANGELOG.md";
51 license = licenses.mit;
52 maintainers = with maintainers; [ blaggacao ];