9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
53 lines
901 B
Nix
53 lines
901 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, qtbase
|
|
, libmediainfo
|
|
, libsecret
|
|
, libisoburn
|
|
, libuuid
|
|
, udisks
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "util-dfm";
|
|
version = "1.2.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxdeepin";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-juZQCRtr0SWrPAz6PAAw2m/MWoTg7831BizziHsId00=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
libmediainfo
|
|
libsecret
|
|
libuuid
|
|
libisoburn
|
|
udisks
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
|
"-DPROJECT_VERSION=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A Toolkits of libdfm-io,libdfm-mount and libdfm-burn";
|
|
homepage = "https://github.com/linuxdeepin/util-dfm";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = teams.deepin.members;
|
|
};
|
|
}
|