summary refs log tree commit diff
path: root/pkgs/applications/editors/leo-editor/default.nix
blob: 6f540d1d74ad5ff08846dd585bd6f6972bae6968 (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
{ stdenv, pythonPackages, fetchgit }:

pythonPackages.buildPythonApplication rec {
  name = "leo-editor-${version}";
  namePrefix = "";
  version = "5.1";

  src = fetchgit {
    url = "https://github.com/leo-editor/leo-editor";
    rev = "refs/tags/Leo-${version}-final";
    sha256 = "3cc5259609890bbde9cfee71f4f60b959b3f5b740f7d403c99ea2d9796b4758e";
  };

  propagatedBuildInputs = with pythonPackages; [ pyqt4 sqlite3 ];


  patchPhase = ''
    rm setup.cfg
  '';

  meta = {
    homepage = "http://leoeditor.com";
    description = "A powerful folding editor";
    longDescription = "Leo is a PIM, IDE and outliner that accelerates the work flow of programmers, authors and web designers.";
    license = stdenv.lib.licenses.mit;
    maintainers = with stdenv.lib.maintainers; [ leonardoce ];
  };
}