Compare commits
No commits in common. "ab59eedef5e2d127fd959aa847514c8527abcac7" and "5a93c4fdcddc4865504e1f6a327330d6b5513a17" have entirely different histories.
ab59eedef5
...
5a93c4fdcd
|
@ -936,7 +936,7 @@ checksum = "8fcfdc7a0362c9f4444381a9e697c79d435fe65b52a37466fc2c1184cee9edc6"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "fitnesstrax"
|
name = "fitnesstrax"
|
||||||
version = "0.4.1"
|
version = "0.4.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-channel",
|
"async-channel",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "fitnesstrax"
|
name = "fitnesstrax"
|
||||||
version = "0.4.1"
|
version = "0.4.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
{ gtkNativeInputs }:
|
|
||||||
attrs: {
|
|
||||||
nativeBuildInputs = gtkNativeInputs;
|
|
||||||
postInstall = ''
|
|
||||||
install -Dt $out/share/applications resources/fitnesstrax.desktop
|
|
||||||
install -Dt $out/gsettings-schemas/${attrs.crateName}-${attrs.version}/glib-2.0/schemas resources/com.luminescent-dreams.fitnesstrax.gschema.xml
|
|
||||||
glib-compile-schemas $out/gsettings-schemas/${attrs.crateName}-${attrs.version}/glib-2.0/schemas
|
|
||||||
'';
|
|
||||||
preFixup = ''
|
|
||||||
gappsWrapperArgs+=(
|
|
||||||
--prefix XDG_DATA_DIRS : $out/gsettings-schemas/${attrs.crateName}-${attrs.version}
|
|
||||||
)
|
|
||||||
'';
|
|
||||||
}
|
|
|
@ -58,7 +58,6 @@
|
||||||
pkgs.pkg-config
|
pkgs.pkg-config
|
||||||
pkgs.gtk4
|
pkgs.gtk4
|
||||||
pkgs.libadwaita
|
pkgs.libadwaita
|
||||||
pkgs.wrapGAppsHook4
|
|
||||||
];
|
];
|
||||||
|
|
||||||
cargoOverrides = pkgs: pkgs.buildRustCrate.override {
|
cargoOverrides = pkgs: pkgs.buildRustCrate.override {
|
||||||
|
@ -69,7 +68,7 @@
|
||||||
libadwaita-sys = attrs: { nativeBuildInputs = gtkNativeInputs; };
|
libadwaita-sys = attrs: { nativeBuildInputs = gtkNativeInputs; };
|
||||||
|
|
||||||
dashboard = attrs: { nativeBuildInputs = gtkNativeInputs; };
|
dashboard = attrs: { nativeBuildInputs = gtkNativeInputs; };
|
||||||
fitnesstrax = import ./fitnesstrax/app/override.nix { gtkNativeInputs = gtkNativeInputs; };
|
fitnesstrax = attrs: { nativeBuildInputs = gtkNativeInputs; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue