jay: unstable-2022-11-20 -> 1.1.0 (#306151)
This commit is contained in:
parent
36a026c5cb
commit
d41cbd1899
1 changed files with 24 additions and 5 deletions
|
@ -7,20 +7,30 @@
|
|||
, mesa
|
||||
, pango
|
||||
, udev
|
||||
, shaderc
|
||||
, libglvnd
|
||||
, vulkan-loader
|
||||
, autoPatchelfHook
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "jay";
|
||||
version = "unstable-2022-11-20";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mahkoh";
|
||||
repo = pname;
|
||||
rev = "09b4668a5363a6e93dfb8ba35b244835f4edb0f2";
|
||||
sha256 = "sha256-0IIzXY7AFTGEe0TzJVKOtTPUZee0Wz40yKgEWLeIYJw=";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9fWwVUqeYADt33HGaJRRFmM20WM7qRWbNGpt3rk9xQM=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-zSq6YBlm6gJXGlF9xZ8gWSTMewdNqrJzwP58a0x8QIU=";
|
||||
cargoSha256 = "sha256-oPGY/rVx94BkWgKkwwyDjfASMyGGU32R5IZuNjOv+EM=";
|
||||
|
||||
SHADERC_LIB_DIR = "${lib.getLib shaderc}/lib";
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libGL
|
||||
|
@ -29,9 +39,18 @@ rustPlatform.buildRustPackage rec {
|
|||
pango
|
||||
udev
|
||||
libinput
|
||||
shaderc
|
||||
];
|
||||
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
runtimeDependencies = [
|
||||
libglvnd
|
||||
vulkan-loader
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -D etc/jay.portal $out/usr/share/xdg-desktop-portal/portals/jay.portal
|
||||
install -D etc/jay-portals.conf $out/usr/share/xdg-desktop-portal/jay-portals.conf
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Wayland compositor written in Rust";
|
||||
|
|
Loading…
Reference in a new issue