62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
libsForQt5,
|
|
dtkwidget,
|
|
dtkdeclarative,
|
|
qt5integration,
|
|
qt5platform-plugins,
|
|
udisks2-qt5,
|
|
gio-qt,
|
|
freeimage,
|
|
ffmpeg_6,
|
|
ffmpegthumbnailer,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "deepin-album";
|
|
version = "6.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxdeepin";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-kTcVmROsqLH8GwJzAf3zMq/wGYWNvhFBiHODaROt7Do=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
libsForQt5.qttools
|
|
libsForQt5.wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
dtkwidget
|
|
dtkdeclarative
|
|
qt5integration
|
|
qt5platform-plugins
|
|
libsForQt5.qtbase
|
|
libsForQt5.qtsvg
|
|
udisks2-qt5
|
|
gio-qt
|
|
freeimage
|
|
ffmpeg_6
|
|
ffmpegthumbnailer
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
cmakeFlags = [ "-DVERSION=${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "Fashion photo manager for viewing and organizing pictures";
|
|
homepage = "https://github.com/linuxdeepin/deepin-album";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = teams.deepin.members;
|
|
};
|
|
}
|