oculante: Fix broken build (#449840)
This commit is contained in:
@@ -17,21 +17,24 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
gtk3,
|
gtk3,
|
||||||
perl,
|
perl,
|
||||||
|
shaderc,
|
||||||
wrapGAppsHook3,
|
wrapGAppsHook3,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "oculante";
|
pname = "oculante";
|
||||||
version = "0.9.2";
|
version = "0.9.2.1-unstable-2025-10-08";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "woelper";
|
owner = "woelper";
|
||||||
repo = "oculante";
|
repo = "oculante";
|
||||||
rev = version;
|
rev = "51b9f70b35e09850baee85971720b8d3ac49c80b";
|
||||||
hash = "sha256-3kDrsD24/TNcA7NkwwCHN4ez1bC5MP7g28H3jaO/M7E=";
|
hash = "sha256-YTrUucO1Fq2TgnV/HHkx2fcHvBupeoMpiBSwqIvyHaQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-lksAPT1nuwN5bh3x7+EN4B8ksGtvemt4tbm6/3gqdgE=";
|
cargoHash = "sha256-Bn2HxmFiqOeb3oUnUL/K0SahcFWRlY9RrbGU4orQz+Y=";
|
||||||
|
|
||||||
|
SHADERC_LIB_DIR = "${lib.getLib shaderc}/lib";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
@@ -44,6 +47,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
openssl
|
openssl
|
||||||
fontconfig
|
fontconfig
|
||||||
|
shaderc
|
||||||
]
|
]
|
||||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
libGL
|
libGL
|
||||||
|
|||||||
Reference in New Issue
Block a user