57 lines
1.0 KiB
Nix
57 lines
1.0 KiB
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
rustPlatform,
|
|
autoPatchelfHook,
|
|
pkg-config,
|
|
libxkbcommon,
|
|
libGL,
|
|
pipewire,
|
|
libpulseaudio,
|
|
wayland,
|
|
udev,
|
|
vulkan-loader,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "ashell";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MalpenZibo";
|
|
repo = "ashell";
|
|
tag = version;
|
|
hash = "sha256-4OJHnYy3LcABDaSraqoXdTpdfcjRQd+B4hc2AOM/oi8=";
|
|
};
|
|
|
|
cargoHash = "sha256-6NNWdAUZQY2yPW8OGeQUjOCV+REI+LU2wpJGitqq5hI=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
autoPatchelfHook
|
|
rustPlatform.bindgenHook
|
|
];
|
|
|
|
runtimeDependencies = [
|
|
wayland
|
|
libGL
|
|
vulkan-loader
|
|
];
|
|
|
|
buildInputs = [
|
|
libpulseaudio
|
|
libxkbcommon
|
|
pipewire
|
|
udev
|
|
]
|
|
++ runtimeDependencies;
|
|
|
|
meta = {
|
|
description = "Ready to go Wayland status bar for Hyprland";
|
|
homepage = "https://github.com/MalpenZibo/ashell";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "ashell";
|
|
maintainers = with lib.maintainers; [ justdeeevin ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|