Skip to content

Commit

Permalink
fittrackee: 0.8.6 -> 0.8.8 (NixOS#339297)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda authored Sep 5, 2024
2 parents 9a1aee2 + 6367bd6 commit e0639a2
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 39 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{ lib
, python3
, fetchFromGitHub
, fetchPypi
, postgresql
, postgresqlTestHook
{
fetchFromGitHub,
fetchPypi,
lib,
postgresql,
postgresqlTestHook,
python3,
}:
let
python = python3.override {
Expand All @@ -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
];
Expand All @@ -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" ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit e0639a2

Please sign in to comment.