minor tweaks, update, format
This commit is contained in:
parent
3e5b3303c3
commit
3b592d37d0
9 changed files with 96 additions and 69 deletions
28
pkgs/eww.nix
28
pkgs/eww.nix
|
@ -1,14 +1,14 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, gtk3
|
||||
, gdk-pixbuf
|
||||
, withWayland ? true
|
||||
, gtk-layer-shell
|
||||
, stdenv
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
gtk3,
|
||||
gdk-pixbuf,
|
||||
withWayland ? true,
|
||||
gtk-layer-shell,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "eww";
|
||||
version = "0.4.0-dirty";
|
||||
|
@ -24,14 +24,14 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
# cargoPatches = [ ./Cargo.lock.patch ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [pkg-config];
|
||||
|
||||
buildInputs = [ gtk3 gdk-pixbuf ] ++ lib.optional withWayland gtk-layer-shell;
|
||||
buildInputs = [gtk3 gdk-pixbuf] ++ lib.optional withWayland gtk-layer-shell;
|
||||
|
||||
buildNoDefaultFeatures = withWayland;
|
||||
buildFeatures = lib.optional withWayland "wayland";
|
||||
|
||||
cargoBuildFlags = [ "--bin" "eww" ];
|
||||
cargoBuildFlags = ["--bin" "eww"];
|
||||
|
||||
cargoTestFlags = cargoBuildFlags;
|
||||
|
||||
|
@ -42,7 +42,7 @@ rustPlatform.buildRustPackage rec {
|
|||
description = "ElKowars wacky widgets";
|
||||
homepage = "https://github.com/elkowar/eww";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda lom ];
|
||||
maintainers = with maintainers; [figsoda lom];
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue