Merge pull request #122059 from AndersonTorres/quick-patches

cagebreak: 1.7.0 -> 1.7.1

authored by

Anderson Torres and committed by
GitHub
87f9307b 4f64f6d8

+9 -15
+9 -15
pkgs/applications/window-managers/cagebreak/default.nix
··· 9 , meson 10 , ninja 11 , nixosTests 12 - , pandoc 13 , pango 14 , pixman 15 , pkg-config ··· 23 24 stdenv.mkDerivation rec { 25 pname = "cagebreak"; 26 - version = "1.7.0"; 27 28 src = fetchFromGitHub { 29 owner = "project-repo"; 30 repo = pname; 31 rev = version; 32 - hash = "sha256-HpAjJHu5sxZKof3ydnU3wcP5GpnH6Ax8m1T1vVoq+oI="; 33 }; 34 35 nativeBuildInputs = [ 36 makeWrapper 37 meson 38 ninja 39 - pandoc 40 pkg-config 41 scdoc 42 wayland ··· 55 wlroots 56 ]; 57 58 - outputs = [ 59 - "out" 60 - "contrib" 61 - ]; 62 - 63 mesonFlags = [ 64 "-Dman-pages=true" 65 "-Dversion_override=${version}" 66 "-Dxwayland=${lib.boolToString withXwayland}" 67 ]; 68 69 postPatch = '' 70 sed -i -e 's|<drm_fourcc.h>|<libdrm/drm_fourcc.h>|' *.c 71 ''; 72 73 postInstall = '' 74 - mkdir -p $contrib/share/cagebreak 75 - cp $src/examples/config $contrib/share/cagebreak/config 76 ''; 77 78 postFixup = lib.optionalString withXwayland '' 79 wrapProgram $out/bin/cagebreak --prefix PATH : "${xwayland}/bin" 80 ''; 81 - 82 - passthru.tests.basic = nixosTests.cagebreak; 83 84 meta = with lib; { 85 - description = "A Wayland tiling compositor inspired by ratpoison"; 86 homepage = "https://github.com/project-repo/cagebreak"; 87 license = licenses.mit; 88 - platforms = platforms.linux; 89 maintainers = with maintainers; [ berbiche ]; 90 }; 91 }
··· 9 , meson 10 , ninja 11 , nixosTests 12 , pango 13 , pixman 14 , pkg-config ··· 22 23 stdenv.mkDerivation rec { 24 pname = "cagebreak"; 25 + version = "1.7.1"; 26 27 src = fetchFromGitHub { 28 owner = "project-repo"; 29 repo = pname; 30 rev = version; 31 + hash = "sha256-1IztedN5/I/4TDKHLJ26fSrDsvJ5QAr+cbzS2PQITDE="; 32 }; 33 34 nativeBuildInputs = [ 35 makeWrapper 36 meson 37 ninja 38 pkg-config 39 scdoc 40 wayland ··· 53 wlroots 54 ]; 55 56 mesonFlags = [ 57 "-Dman-pages=true" 58 "-Dversion_override=${version}" 59 "-Dxwayland=${lib.boolToString withXwayland}" 60 ]; 61 62 + # TODO: investigate why is this happening 63 postPatch = '' 64 sed -i -e 's|<drm_fourcc.h>|<libdrm/drm_fourcc.h>|' *.c 65 ''; 66 67 postInstall = '' 68 + install -d $out/share/cagebreak/ 69 + install -m644 $src/examples/config $out/share/cagebreak/ 70 ''; 71 72 postFixup = lib.optionalString withXwayland '' 73 wrapProgram $out/bin/cagebreak --prefix PATH : "${xwayland}/bin" 74 ''; 75 76 meta = with lib; { 77 homepage = "https://github.com/project-repo/cagebreak"; 78 + description = "A Wayland tiling compositor inspired by ratpoison"; 79 license = licenses.mit; 80 maintainers = with maintainers; [ berbiche ]; 81 + platforms = platforms.linux; 82 }; 83 + 84 + passthru.tests.basic = nixosTests.cagebreak; 85 }