2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, dpkg, alsaLib, atk, cairo, cups, dbus, expat, fontconfig
|
2021-03-16 17:22:15 +00:00
|
|
|
, freetype, gdk-pixbuf, glib, gnome2, gtk2, nspr, nss, pango, udev, xorg }:
|
2018-02-13 23:02:27 +00:00
|
|
|
let
|
2021-01-15 05:42:41 +00:00
|
|
|
fullPath = lib.makeLibraryPath [
|
2018-02-13 23:02:27 +00:00
|
|
|
alsaLib
|
|
|
|
atk
|
|
|
|
cairo
|
|
|
|
cups
|
|
|
|
dbus
|
|
|
|
expat
|
|
|
|
fontconfig
|
|
|
|
freetype
|
2019-05-22 12:03:39 +01:00
|
|
|
gdk-pixbuf
|
2018-02-13 23:02:27 +00:00
|
|
|
glib
|
|
|
|
gnome2.GConf
|
2021-03-16 17:22:15 +00:00
|
|
|
gtk2
|
2018-02-13 23:02:27 +00:00
|
|
|
nspr
|
|
|
|
nss
|
|
|
|
pango
|
|
|
|
udev
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXScrnSaver
|
|
|
|
xorg.libXcomposite
|
|
|
|
xorg.libXcursor
|
|
|
|
xorg.libXdamage
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXfixes
|
|
|
|
xorg.libXi
|
|
|
|
xorg.libXrandr
|
|
|
|
xorg.libXrender
|
|
|
|
xorg.libXtst
|
|
|
|
xorg.libxcb
|
|
|
|
] + ":${stdenv.cc.cc.lib}/lib64";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-01 22:48:19 +01:00
|
|
|
version = "1.17.82";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "stride";
|
2018-02-13 23:02:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://packages.atlassian.com/stride-apt-client/pool/stride_${version}_amd64.deb";
|
2018-05-01 22:48:19 +01:00
|
|
|
sha256 = "0lx61gdhw0kv4f9fwbfg69yq52dsp4db7c4li25d6wn11qanzqhy";
|
2018-02-13 23:02:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
dontFixup = true;
|
|
|
|
|
|
|
|
buildInputs = [ dpkg ];
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
dpkg-deb -x ${src} ./
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase =''
|
|
|
|
mkdir "$out"
|
|
|
|
mv usr/* "$out/"
|
|
|
|
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
|
|
|
--set-rpath "${fullPath}:\$ORIGIN" \
|
|
|
|
"$out/bin/stride"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-02-13 23:02:27 +00:00
|
|
|
description = "Desktop client for Atlassian Stride";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.stride.com/";
|
2018-02-13 23:02:27 +00:00
|
|
|
license = licenses.unfree;
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
maintainers = with maintainers; [ puffnfresh ];
|
|
|
|
};
|
|
|
|
}
|