added necessary buildInputs

This commit is contained in:
willifan 2025-01-14 17:20:55 +01:00
parent 54b0942de6
commit aae66c3b70
2 changed files with 6 additions and 3 deletions

View file

@ -1,10 +1,10 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.rustPlatform.buildRustPackage {
pname = "desktop-utils";
pname = "ewwbar";
version = "1.0.0";
src = builtins.path { path = ./.; name = "desktop-utils"; };
src = builtins.path { path = ./.; name = "ewwbar"; };
cargoLock = {
lockFile = ./Cargo.lock;
@ -16,6 +16,7 @@ pkgs.rustPlatform.buildRustPackage {
buildInputs = [
pkgs.libxkbcommon
pkgs.eww
];
postInstall = ''
@ -24,10 +25,11 @@ pkgs.rustPlatform.buildRustPackage {
'';
meta = with pkgs.lib; {
description = "utils for my desktop";
description = "Top bar using ElKowars Wacky Widgets";
homepage = " git.huwe.mooo.com/willifan/desktop-utils";
license = licenses.gpl3;
platforms = platforms.unix;
mainProgram = "ewwbar";
};
}

View file

@ -7,6 +7,7 @@ pkgs.mkShell {
pkgs.cargo
pkgs.pkg-config
pkgs.libxkbcommon
pkgs.eww
pkgs.rust-analyzer
pkgs.clippy