20 stdenv.mkDerivation rec {
24 src = fetchFromGitLab {
25 domain = "gitlab.gnome.org";
29 hash = "sha256-PrNPprSS98yN8b8yw2G6hzTSaoE65VbsM3q7FVB4mds=";
32 cargoDeps = rustPlatform.fetchCargoTarball {
34 name = "${pname}-${version}";
35 hash = "sha256-8fa3fa+sFi5H+49B5sr2vYPkp9C9s6CcE0zv4xB8gww=";
42 rustPlatform.cargoSetupHook
55 ++ lib.optionals stdenv.hostPlatform.isDarwin [
56 darwin.apple_sdk.frameworks.Security
57 darwin.apple_sdk.frameworks.Foundation
60 env.NIX_CFLAGS_COMPILE = toString (
61 lib.optionals stdenv.cc.isClang [
62 "-Wno-error=incompatible-function-pointer-types"
67 updateScript = nix-update-script { };
71 description = "Health tracking app for the GNOME desktop";
72 homepage = "https://apps.gnome.org/app/dev.Cogitri.Health";
73 license = licenses.gpl3Plus;
74 mainProgram = "dev.Cogitri.Health";
75 maintainers = lib.teams.gnome-circle.members;
76 platforms = platforms.unix;