pytrainer: 1.11.0 -> 1.12.0

This commit is contained in:
Robert Helgesson
2018-02-27 22:21:38 +01:00
parent 6d54123caf
commit e21057ae4f
2 changed files with 28 additions and 14 deletions
+8 -3
View File
@@ -14,13 +14,13 @@ in
python2Packages.buildPythonApplication rec {
name = "pytrainer-${version}";
version = "1.11.0";
version = "1.12.0";
src = fetchFromGitHub {
owner = "pytrainer";
repo = "pytrainer";
rev = "v${version}";
sha256 = "1x4f1ydjql0aisvxs5kyi9lx35b4q3768dx42fyzq1nxdwzaqyvy";
sha256 = "09pfddjaqdpy3r27h21xvsvh04sb8hppinskxlahdqb3vjzkr581";
};
namePrefix = "";
@@ -35,8 +35,13 @@ python2Packages.buildPythonApplication rec {
./pytrainer-webkit.patch
];
postPatch = ''
substituteInPlace ./setup.py \
--replace "'mysqlclient'," ""
'';
propagatedBuildInputs = with python2Packages; [
dateutil lxml matplotlibGtk pyGtkGlade sqlalchemy_migrate
dateutil lxml matplotlibGtk pyGtkGlade sqlalchemy sqlalchemy_migrate psycopg2
] ++ stdenv.lib.optional withWebKit [ pywebkitgtk ];
buildInputs = [ perl gpsbabel sqlite ];