depot/pkgs/desktops/deepin/library/udisks2-qt5/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

38 lines
741 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
libsForQt5,
pkg-config,
udisks,
}:
stdenv.mkDerivation rec {
pname = "udisks2-qt5";
version = "5.0.6";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-WS4fmqEYXi5dkn8RvyJBzy3+r+UgFcGDFFpQlbblLu4=";
};
nativeBuildInputs = [
libsForQt5.qmake
pkg-config
libsForQt5.wrapQtAppsHook
];
buildInputs = [ udisks ];
qmakeFlags = [ "VERSION=${version}" ];
meta = with lib; {
description = "UDisks2 D-Bus interfaces binding for Qt5";
homepage = "https://github.com/linuxdeepin/udisks2-qt5";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
};
}