aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/office/tryton/default.nix
blob: 51d5b083e6bd627b373a00e30b40b9b987b9d59d (plain)
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
35
{ stdenv, fetchurl, python2Packages, librsvg }:

with stdenv.lib;

python2Packages.buildPythonApplication rec {
  name = "tryton-${version}";
  version = "4.6.2";
  src = fetchurl {
    url = "mirror://pypi/t/tryton/${name}.tar.gz";
    sha256 = "0bamr040np02gfjk8c734rw3mbgg75irfgpdcl2npgkdzyw1ksf9";
  };
  propagatedBuildInputs = with python2Packages; [
    chardet
    dateutil
    pygtk
    librsvg
  ];
  makeWrapperArgs = [
    ''--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"''
  ];
  meta = {
    description = "The client of the Tryton application platform";
    longDescription = ''
      The client for Tryton, a three-tier high-level general purpose
      application platform under the license GPL-3 written in Python and using
      PostgreSQL as database engine.

      It is the core base of a complete business solution providing
      modularity, scalability and security.
    '';
    homepage = http://www.tryton.org/;
    license = licenses.gpl3Plus;
    maintainers = [ maintainers.johbo ];
  };
}