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