chore: nixfmt *

This commit is contained in:
steveej 2022-10-31 11:04:38 +01:00
parent dc761a5271
commit d039179898
161 changed files with 2688 additions and 3024 deletions

View file

@ -1,61 +1,61 @@
with import <nixpkgs> {};
with import <nixpkgs> { };
stdenv.mkDerivation rec {
name = "nozbe";
version = "3.6.3";
name = "nozbe";
version = "3.6.3";
src = fetchzip {
url = "https://files.nozbe.com/linux/linux64_newest.tar.gz";
sha256 = "08hag0kv23psqa1pl9kardz90scgk21rsr5xxfg8jvmnxy2nc858";
stripRoot = false;
};
src = fetchzip {
url = "https://files.nozbe.com/linux/linux64_newest.tar.gz";
sha256 = "08hag0kv23psqa1pl9kardz90scgk21rsr5xxfg8jvmnxy2nc858";
stripRoot = false;
};
buildInputs = [ makeWrapper ];
buildInputs = [ makeWrapper ];
buildPhase = '':'';
buildPhase = ":";
libPath = lib.makeLibraryPath [
alsaLib
atk
cairo
cups
dbus
expat
freetype
fontconfig
gnome3.gconf
gcc.cc
gdk_pixbuf
gtk2-x11
glib
pango
nss
nspr
systemd.lib
xorg.libX11
xorg.libXcursor
xorg.libXcomposite
xorg.libXext
xorg.libXfixes
xorg.libXdamage
xorg.libXi
xorg.libXrandr
xorg.libXrender
xorg.libXtst
xorg.libXScrnSaver
];
installPhase = ''
pushd Nozbe-${version}
ls -lha
libPath = lib.makeLibraryPath [
alsaLib
atk
cairo
cups
dbus
expat
freetype
fontconfig
gnome3.gconf
gcc.cc
gdk_pixbuf
gtk2-x11
glib
pango
nss
nspr
systemd.lib
xorg.libX11
xorg.libXcursor
xorg.libXcomposite
xorg.libXext
xorg.libXfixes
xorg.libXdamage
xorg.libXi
xorg.libXrandr
xorg.libXrender
xorg.libXtst
xorg.libXScrnSaver
];
installPhase = ''
pushd Nozbe-${version}
ls -lha
patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2 Nozbe
patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2 Nozbe
mkdir -p $out/bin
cp -a * $out/
mkdir -p $out/bin
cp -a * $out/
wrapProgram $out/Nozbe \
--prefix LD_LIBRARY_PATH : "${libPath}"
wrapProgram $out/Nozbe \
--prefix LD_LIBRARY_PATH : "${libPath}"
ln -sf ../Nozbe $out/bin/
'';
ln -sf ../Nozbe $out/bin/
'';
}