Created
April 12, 2020 17:24
-
-
Save LinArcX/3446f59430a4a07836f968cef3b805c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import <nixpkgs> {}; | |
unstable = import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz) {}; | |
pkgs-2020-03-23 = import (fetchTarball https://github.com/NixOS/nixpkgs/archive/793c1b5c72abbfed2f98add0811a022fc713dbf3.tar.gz) {}; | |
in | |
pkgs-2020-03-23.clangStdenv.mkDerivation rec { | |
pname = "wingpanel-disk-usage"; | |
version = "1.0.0"; | |
name = "${pname}${version}"; | |
nativeBuildInputs = [ | |
pkgs.pkg-config | |
pkgs-2020-03-23.wrapGAppsHook | |
pkgs-2020-03-23.libcanberra-gtk3 | |
]; | |
buildInputs = [ | |
pkgs-2020-03-23.hicolor-icon-theme | |
pkgs-2020-03-23.libcanberra-gtk3 | |
pkgs-2020-03-23.lldb_9 | |
pkgs-2020-03-23.clang-tools | |
pkgs-2020-03-23.clang-analyzer | |
pkgs-2020-03-23.man | |
pkgs-2020-03-23.man-pages | |
pkgs-2020-03-23.clang-manpages | |
pkgs-2020-03-23.posix_man_pages | |
pkgs-2020-03-23.vala | |
pkgs-2020-03-23.fontconfig | |
pkgs-2020-03-23.gtk3 | |
pkgs-2020-03-23.pcre | |
pkgs-2020-03-23.harfbuzz | |
pkgs-2020-03-23.xorg.libpthreadstubs | |
pkgs-2020-03-23.xorg.libXdmcp | |
pkgs-2020-03-23.utillinux | |
pkgs-2020-03-23.libselinux | |
pkgs-2020-03-23.libsepol | |
pkgs-2020-03-23.libxkbcommon | |
pkgs-2020-03-23.epoxy | |
pkgs-2020-03-23.at_spi2_core.dev | |
pkgs-2020-03-23.dbus | |
pkgs-2020-03-23.xorg.libXtst | |
pkgs-2020-03-23.libcanberra-gtk3 | |
]; | |
FONTCONFIG_FILE = "${pkgs-2020-03-23.fontconfig.out}/etc/fonts/fonts.conf"; | |
LOCALE_ARCHIVE = "${pkgs-2020-03-23.glibcLocales}/lib/locale/locale-archive"; | |
GTK2_RC_FILES="${pkgs-2020-03-23.hicolor-icon-theme}/share/themes/hicolor-icon-theme/gtk-2.0/gtkrc"; | |
GTK_PATH="${pkgs-2020-03-23.hicolor-icon-theme}/lib/gtk-2.0"; | |
XDG_DATA_DIRS=$XDG_DATA_DIRS${XDG_DATA_DIRS:+:}$HOME/.nix-profile/share | |
shellHook = '' | |
export NAME=${pname} | |
export CLANG=${pkgs-2020-03-23.clang}/bin/clang | |
export CLANGXX=${pkgs-2020-03-23.clang}/bin/clang++ | |
export CLANGD=${pkgs-2020-03-23.clang-tools}/bin/clangd | |
export LLDB_VSCODE=${pkgs-2020-03-23.lldb_9}/bin/lldb-vscode | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment