mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
albert: 0.12.0 -> 0.14.7
Update package to latest version
This commit is contained in:
parent
78dd4225e7
commit
a1d8a2393f
@ -1,25 +1,30 @@
|
||||
{ mkDerivation, lib, fetchFromGitHub, makeWrapper, qtbase, qtsvg, qtx11extras, muparser, cmake }:
|
||||
{ mkDerivation, lib, fetchFromGitHub, makeWrapper, qtbase, qtdeclarative, qtsvg, qtx11extras, muparser,
|
||||
cmake, python3 }:
|
||||
|
||||
mkDerivation rec {
|
||||
name = "albert-${version}";
|
||||
version = "0.12.0";
|
||||
version = "0.14.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "albertlauncher";
|
||||
repo = "albert";
|
||||
rev = "v${version}";
|
||||
sha256 = "120l7hli2l4qj2s126nawc4dsy4qvwvb0svc42hijry4l8imdhkq";
|
||||
sha256 = "1ryjrbrbgignhkvsv4021l4am8ml7g8v4bs5cp5jj288k4p2rf4n";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake makeWrapper ];
|
||||
|
||||
buildInputs = [ qtbase qtsvg qtx11extras muparser ];
|
||||
buildInputs = [ qtbase qtdeclarative qtsvg qtx11extras muparser python3 ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# We don't have virtualbox sdk so disable plugin
|
||||
cmakeFlags = [ "-DBUILD_VIRTUALBOX=OFF" "-DCMAKE_INSTALL_LIBDIR=libs" ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/QStringList dirs = {/a \"$out/lib\"," \
|
||||
src/lib/albert/src/albert/extensionmanager.cpp
|
||||
sed -i "/QStringList dirs = {/a \"$out/libs\"," \
|
||||
lib/albertcore/src/core/albert.cpp
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
Loading…
Reference in New Issue
Block a user