fittrackee: 0.8.6 -> 0.8.8 (#339297)

This commit is contained in:
Robert Schütz 2024-09-05 07:53:20 -07:00 committed by GitHub
commit e0639a2de3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 37 additions and 39 deletions

View File

@ -1,9 +1,10 @@
{ lib
, python3
, fetchFromGitHub
, fetchPypi
, postgresql
, postgresqlTestHook
{
fetchFromGitHub,
fetchPypi,
lib,
postgresql,
postgresqlTestHook,
python3,
}:
let
python = python3.override {
@ -25,22 +26,17 @@ let
in
python.pkgs.buildPythonApplication rec {
pname = "fit-trackee";
version = "0.8.6";
pname = "fittrackee";
version = "0.8.8";
pyproject = true;
src = fetchFromGitHub {
owner = "SamR1";
repo = "FitTrackee";
rev = "refs/tags/v${version}";
hash = "sha256-lTDS+HfYG6ayXDotu7M2LUrw+1ZhQ0ftw0rTn4Mr3rQ=";
hash = "sha256-IO6M+HXAR3Gn0/71KwkaQr6sB0eCQzmnqHYgO+mzIZM=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail psycopg2-binary psycopg2
'';
build-system = [
python.pkgs.poetry-core
];
@ -53,29 +49,32 @@ python.pkgs.buildPythonApplication rec {
"pyopenssl"
];
dependencies = with python.pkgs; [
authlib
babel
click
dramatiq
flask
flask-bcrypt
flask-dramatiq
flask-limiter
flask-migrate
flask-sqlalchemy
gpxpy
gunicorn
humanize
psycopg2
pyjwt
pyopenssl
pytz
shortuuid
sqlalchemy
staticmap
ua-parser
] ++ dramatiq.optional-dependencies.redis
dependencies =
with python.pkgs;
[
authlib
babel
click
dramatiq
flask
flask-bcrypt
flask-dramatiq
flask-limiter
flask-migrate
flask-sqlalchemy
gpxpy
gunicorn
humanize
psycopg2-binary
pyjwt
pyopenssl
pytz
shortuuid
sqlalchemy
staticmap
ua-parser
]
++ dramatiq.optional-dependencies.redis
++ flask-limiter.optional-dependencies.redis;
pythonImportsCheck = [ "fittrackee" ];

View File

@ -464,6 +464,7 @@ mapAliases ({
firmwareLinuxNonfree = linux-firmware; # Added 2022-01-09
fishfight = jumpy; # Added 2022-08-03
fitnesstrax = throw "fitnesstrax was removed from nixpkgs because it disappeared upstream and no longer compiles"; # added 2023-07-04
fit-trackee = fittrackee; # added 2024-09-03
flashrom-stable = flashprog; # Added 2024-03-01
flatbuffers_2_0 = flatbuffers; # Added 2022-05-12
flintqs = throw "FlintQS has been removed due to lack of maintenance and security issues; use SageMath or FLINT instead"; # Added 2024-03-21

View File

@ -25953,8 +25953,6 @@ with pkgs;
### SERVERS / GEOSPATIAL
fit-trackee = callPackage ../servers/geospatial/fit-trackee { };
martin = callPackage ../servers/geospatial/martin {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};