miriway: 24.09 -> 24.10.1 (#353939)

authored by Cosima Neidahl and committed by GitHub 2e3b9c40 c598a008

+22 -2
+22 -2
pkgs/by-name/mi/miriway/package.nix
··· 4 4 fetchFromGitHub, 5 5 gitUpdater, 6 6 nixosTests, 7 + bash, 7 8 cmake, 9 + inotify-tools, 8 10 pkg-config, 9 11 mir, 10 12 libxkbcommon, 13 + swaybg, 11 14 }: 12 15 13 16 stdenv.mkDerivation (finalAttrs: { 14 17 pname = "miriway"; 15 - version = "24.09"; 18 + version = "24.10.1"; 16 19 17 20 src = fetchFromGitHub { 18 21 owner = "Miriway"; 19 22 repo = "Miriway"; 20 23 rev = "refs/tags/v${finalAttrs.version}"; 21 - hash = "sha256-/0txc9ynC3rj9tbHwYNlDe2C1DlmjoE2Q2/uoBz2GFg="; 24 + hash = "sha256-jpXsvr2HnfMCJh851oS+IiQLSmL9C1bnaG6IPSq5xrA="; 22 25 }; 26 + 27 + postPatch = '' 28 + substituteInPlace CMakeLists.txt \ 29 + --replace-fail 'DESTINATION /usr/lib/systemd' 'DESTINATION ''${CMAKE_INSTALL_LIBDIR}/systemd' 30 + ''; 23 31 24 32 strictDeps = true; 25 33 34 + # Source has a path "systemd/usr/{libexec,lib}/...", don't break references to that 35 + dontFixCmake = true; 36 + 26 37 nativeBuildInputs = [ 27 38 cmake 28 39 pkg-config 29 40 ]; 30 41 31 42 buildInputs = [ 43 + bash 32 44 mir 33 45 libxkbcommon 34 46 ]; 47 + 48 + postInstall = '' 49 + substituteInPlace $out/bin/miriway-background \ 50 + --replace-fail 'exec swaybg' 'exec ${lib.getExe swaybg}' 51 + 52 + substituteInPlace $out/bin/miriway-run \ 53 + --replace-fail 'inotifywait -qq' '${lib.getExe' inotify-tools "inotifywait"} -qq' 54 + ''; 35 55 36 56 passthru = { 37 57 updateScript = gitUpdater { rev-prefix = "v"; };