nixpkgs/pkgs/applications/office/tryton/default.nix
Ryan Mulligan 43b6674f5d tryton: 4.2.1 -> 4.6.2
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/ns61c2rgvmivvyfi3bnglp0mcgj6a511-tryton-4.6.2/bin/.tryton-wrapped -h` got 0 exit code
- ran `/nix/store/ns61c2rgvmivvyfi3bnglp0mcgj6a511-tryton-4.6.2/bin/.tryton-wrapped --help` got 0 exit code
- ran `/nix/store/ns61c2rgvmivvyfi3bnglp0mcgj6a511-tryton-4.6.2/bin/.tryton-wrapped --version` and found version 4.6.2
- ran `/nix/store/ns61c2rgvmivvyfi3bnglp0mcgj6a511-tryton-4.6.2/bin/tryton -h` got 0 exit code
- ran `/nix/store/ns61c2rgvmivvyfi3bnglp0mcgj6a511-tryton-4.6.2/bin/tryton --help` got 0 exit code
- ran `/nix/store/ns61c2rgvmivvyfi3bnglp0mcgj6a511-tryton-4.6.2/bin/tryton --version` and found version 4.6.2
- found 4.6.2 with grep in /nix/store/ns61c2rgvmivvyfi3bnglp0mcgj6a511-tryton-4.6.2
- found 4.6.2 in filename of file in /nix/store/ns61c2rgvmivvyfi3bnglp0mcgj6a511-tryton-4.6.2

cc "@johbo"
2018-02-27 17:51:41 -08:00

35 lines
1 KiB
Nix

{ 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 ];
};
}