about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/xmind/default.nix
blob: ab12f26a72df4de7956037a6a8ab5be9ebdc6c1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:

buildPythonPackage rec {
  pname = "xmind";
  version = "1.2.0";
  format = "setuptools";

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "zhuifengshen";
    repo = pname;
    rev = "v${version}";
    sha256 = "xC1WpHz2eHb5+xShM/QUQAIYnJNyK1EKWbTXJKhDwbQ=";
  };

  # Projec thas no tests
  doCheck = false;

  pythonImportsCheck = [
    "xmind"
  ];

  meta = with lib; {
    description = "Python module to create mindmaps";
    homepage = "https://github.com/zhuifengshen/xmind";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}