lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.09-beta 43 lines 1.7 kB view raw
1{ stdenv, lib, fetchurl, dpkg, gnome2, gtk2, atk, glib, pango, gdk_pixbuf, cairo 2, freetype, fontconfig, dbus, libXi, libXcursor, libXdamage, libXrandr 3, libXcomposite, libXext, libXfixes, libXrender, libX11, libXtst, libXScrnSaver 4, libxcb, makeWrapper, nodejs 5, nss, nspr, alsaLib, cups, expat, systemd, libpulseaudio }: 6 7let 8 libPath = stdenv.lib.makeLibraryPath [ 9 stdenv.cc.cc gtk2 atk glib pango gdk_pixbuf cairo freetype fontconfig dbus 10 libXi libXcursor libXdamage libXrandr libXcomposite libXext libXfixes libxcb 11 libXrender libX11 libXtst libXScrnSaver gnome2.GConf nss nspr alsaLib cups expat systemd libpulseaudio 12 ]; 13in 14stdenv.mkDerivation rec { 15 version = "1.0.0-alpha.42"; 16 name = "terminus-${version}"; 17 src = fetchurl { 18 url = "https://github.com/Eugeny/terminus/releases/download/v${version}/terminus_${version}_amd64.deb"; 19 sha256 = "1r5n75n71zwahg4rxlnf9qzrb0651gxv0987m6bykqmfpnw91nmb"; 20 }; 21 buildInputs = [ dpkg makeWrapper ]; 22 unpackPhase = '' 23 mkdir pkg 24 dpkg-deb -x $src pkg 25 sourceRoot=pkg 26 ''; 27 installPhase = '' 28 mkdir -p "$out/bin" 29 mv opt "$out/" 30 ln -s "$out/opt/Terminus/terminus" "$out/bin/terminus" 31 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath "${libPath}:\$ORIGIN" "$out/opt/Terminus/terminus" 32 mv usr/* "$out/" 33 wrapProgram $out/bin/terminus --prefix PATH : ${lib.makeBinPath [ nodejs ]} 34 ''; 35 dontPatchELF = true; 36 meta = with lib; { 37 description = "A terminal for a more modern age"; 38 homepage = https://eugeny.github.io/terminus/; 39 maintainers = with maintainers; [ jlesquembre ]; 40 license = licenses.mit; 41 platforms = [ "x86_64-linux" ]; 42 }; 43}