9 , gobject-introspection
20 python = python310.override {
22 packageOverrides = (self: super: {
23 matplotlib = super.matplotlib.override {
28 in python.pkgs.buildPythonApplication rec {
32 src = fetchFromGitHub {
36 hash = "sha256-t61vHVTKN5KsjrgbhzljB7UZdRask7qfYISd+++QbV0=";
39 propagatedBuildInputs = with python.pkgs; [
64 "--prefix" "PATH" ":" (lib.makeBinPath [ perl gpsbabel ])
71 ] ++ (with python.pkgs; [
77 substituteInPlace pytrainer/platform.py \
78 --replace 'sys.prefix' "\"$out\""
84 TZDIR=${tzdata}/share/zoneinfo \
85 TZ=Europe/Kaliningrad \
87 xvfb-run -s '-screen 0 800x600x24' \
88 ${python.interpreter} -m unittest
92 homepage = "https://github.com/pytrainer/pytrainer";
93 description = "Application for logging and graphing sporting excursions";
94 mainProgram = "pytrainer";
95 maintainers = with maintainers; [ rycee dotlambda ];
96 license = licenses.gpl2Plus;
97 platforms = platforms.linux;