depot/third_party/nixpkgs/pkgs/desktops/deepin/library/util-dfm/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

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.16";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-o5ubfCpgAHJXqihGyapq7Dj9eQlw2q6VoER/e37tM6w=";
};
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;
};
}