Commit c4184c3a authored by mksafavi's avatar mksafavi
Browse files

turnon: 2.7.4 -> 2.9.3

remove Devel suffix from APPID and disabled dbusactivatable
parent 333bfb7c
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
}:

let
  version = "2.7.4";
  version = "2.9.3";
in
rustPlatform.buildRustPackage {
  pname = "turnon";
@@ -25,10 +25,10 @@ rustPlatform.buildRustPackage {
    owner = "swsnr";
    repo = "turnon";
    rev = "v${version}";
    hash = "sha256-RTLFajUMJHZoXKhy83G3c7a2fZ+P6CZXadFpbcPFLY8=";
    hash = "sha256-2dPvIuD7gVfhr/E5szJ5rqWL5yRJKZoj2lV+W9CyCjI=";
  };

  cargoHash = "sha256-8vqsQPbl3c2++8T5bjDjAWzm00qSDogT1YaumOC7qzk=";
  cargoHash = "sha256-e0Hds/y3qh7Th+ZTqHIfVleh3vmDlKKJ5Bwt64g5c60=";

  doCheck = true;

@@ -59,7 +59,9 @@ rustPlatform.buildRustPackage {
    substituteInPlace justfile \
        --replace-fail "version := \`git describe\`" "version := \"${version}\"" \
        --replace-fail "DESTPREFIX := '/app'" "DESTPREFIX := '$out'" \
        --replace-fail "APPID := 'de.swsnr.turnon.Devel'" "APPID := 'de.swsnr.turnon'" \
        --replace-fail "just --list" "just compile" # Replacing the default recipe with the compile command as just-hook-buildPhase runs the default recipe to compile the package.
    substituteInPlace de.swsnr.turnon.desktop --replace-fail "DBusActivatable=true" "DBusActivatable=false"
  '';

  postBuild = ''