13 rustPlatform.buildRustPackage rec {
14 pname = "cosmic-panel";
15 version = "1.0.0-alpha.5.1";
17 src = fetchFromGitHub {
19 repo = "cosmic-panel";
20 tag = "epoch-${version}";
21 hash = "sha256-nO7Y1SpwvfHhL0OSy7Ti+e8NPzfknW2SGs7IYoF1Jow=";
24 useFetchCargoVendor = true;
25 cargoHash = "sha256-EIp9s42deMaB7BDe7RAqj2+CnTXjHCtZjS5Iq8l46A4=";
37 dontUseJustBuild = true;
45 "target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-panel"
48 # Force linking to libEGL, which is always dlopen()ed.
49 "CARGO_TARGET_${stdenv.hostPlatform.rust.cargoEnvVarTarget}_RUSTFLAGS" =
50 map (a: "-C link-arg=${a}")
52 "-Wl,--push-state,--no-as-needed"
58 homepage = "https://github.com/pop-os/cosmic-panel";
59 description = "Panel for the COSMIC Desktop Environment";
60 mainProgram = "cosmic-panel";
61 license = licenses.gpl3Only;
62 maintainers = with maintainers; [
66 platforms = platforms.linux;