mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 17:44:44 +00:00
albert: format with nixfmt
This commit is contained in:
parent
a41f160584
commit
376eacd832
@ -1,21 +1,22 @@
|
|||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, fetchFromGitHub
|
stdenv,
|
||||||
, cmake
|
fetchFromGitHub,
|
||||||
, libqalculate
|
cmake,
|
||||||
, muparser
|
libqalculate,
|
||||||
, libarchive
|
muparser,
|
||||||
, python3Packages
|
libarchive,
|
||||||
, qtbase
|
python3Packages,
|
||||||
, qtscxml
|
qtbase,
|
||||||
, qtsvg
|
qtscxml,
|
||||||
, qtdeclarative
|
qtsvg,
|
||||||
, qtwayland
|
qtdeclarative,
|
||||||
, qt5compat
|
qtwayland,
|
||||||
, qttools
|
qt5compat,
|
||||||
, wrapQtAppsHook
|
qttools,
|
||||||
, nix-update-script
|
wrapQtAppsHook,
|
||||||
, pkg-config
|
nix-update-script,
|
||||||
|
pkg-config,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
@ -36,18 +37,23 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
wrapQtAppsHook
|
wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
libqalculate
|
[
|
||||||
libarchive
|
libqalculate
|
||||||
muparser
|
libarchive
|
||||||
qtbase
|
muparser
|
||||||
qtscxml
|
qtbase
|
||||||
qtsvg
|
qtscxml
|
||||||
qtdeclarative
|
qtsvg
|
||||||
qtwayland
|
qtdeclarative
|
||||||
qt5compat
|
qtwayland
|
||||||
qttools
|
qt5compat
|
||||||
] ++ (with python3Packages; [ python pybind11 ]);
|
qttools
|
||||||
|
]
|
||||||
|
++ (with python3Packages; [
|
||||||
|
python
|
||||||
|
pybind11
|
||||||
|
]);
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
find -type f -name CMakeLists.txt -exec sed -i {} -e '/INSTALL_RPATH/d' \;
|
find -type f -name CMakeLists.txt -exec sed -i {} -e '/INSTALL_RPATH/d' \;
|
||||||
@ -77,7 +83,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
changelog = "https://github.com/albertlauncher/albert/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
changelog = "https://github.com/albertlauncher/albert/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||||
# See: https://github.com/NixOS/nixpkgs/issues/279226
|
# See: https://github.com/NixOS/nixpkgs/issues/279226
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
maintainers = with maintainers; [ ericsagnes synthetica eljamm ];
|
maintainers = with maintainers; [
|
||||||
|
ericsagnes
|
||||||
|
synthetica
|
||||||
|
eljamm
|
||||||
|
];
|
||||||
mainProgram = "albert";
|
mainProgram = "albert";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user