sourcetrail: 2019.1.11 -> 2019.2.39

This commit is contained in:
midchildan 2019-06-20 00:19:50 +09:00 committed by Frederik Rietdijk
parent 265d3bc1d6
commit cf3948fbe0

View File

@ -1,18 +1,18 @@
{ stdenv, fetchurl, autoPatchelfHook { stdenv, fetchurl, autoPatchelfHook
, zlib, expat, dbus, openssl}: , zlib, expat, dbus, openssl, python3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sourcetrail-${version}"; name = "sourcetrail-${version}";
version = "2019.1.11"; version = "2019.2.39";
src = fetchurl { src = fetchurl {
name = "sourtrail.tar.gz"; name = "sourtrail.tar.gz";
url = "https://www.sourcetrail.com/downloads/${version}/linux/64bit"; url = "https://www.sourcetrail.com/downloads/${version}/linux/64bit";
sha256 = "09f3qdgdqg6dlai43050qh4iv1d4j43isk81q68swalpnvjn72w0"; sha256 = "13kzfnsb5lf9v6bqw41qljp5bgz2rd3w163r6xg59hzd3dv8f90q";
}; };
nativeBuildInputs = [ autoPatchelfHook ]; nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ zlib expat dbus stdenv.cc.cc openssl ]; buildInputs = [ zlib expat dbus stdenv.cc.cc openssl python3 ];
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
@ -58,8 +58,10 @@ stdenv.mkDerivation rec {
} }
[ -d "\$HOME" ] && setup_config [ -d "\$HOME" ] && setup_config
export PATH="\$PATH:${python3}/bin"
exec "$out/opt/Sourcetrail.sh" "\$@" exec "$out/opt/Sourcetrail.sh" "\$@"
EOF EOF
chmod +x $out/bin/sourcetrail chmod +x $out/bin/sourcetrail
runHook postInstall runHook postInstall