1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "xmind"; 9 version = "1.2.0"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.8"; 13 14 src = fetchFromGitHub { 15 owner = "zhuifengshen"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "xC1WpHz2eHb5+xShM/QUQAIYnJNyK1EKWbTXJKhDwbQ="; 19 }; 20 21 # Projec thas no tests 22 doCheck = false; 23 24 pythonImportsCheck = [ 25 "xmind" 26 ]; 27 28 meta = with lib; { 29 description = "Python module to create mindmaps"; 30 homepage = "https://github.com/zhuifengshen/xmind"; 31 license = with licenses; [ mit ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}