2019-07-22 03:53:18 +01:00
|
|
|
{ stdenv, mkDerivation, fetchFromGitHub, qmake, qtbase, deepin }:
|
2019-04-10 11:29:46 +01:00
|
|
|
|
2019-07-22 03:53:18 +01:00
|
|
|
mkDerivation rec {
|
2019-04-10 11:29:46 +01:00
|
|
|
pname = "udisks2-qt5";
|
|
|
|
version = "0.0.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1gk4jmq7mrzk181r6man2rz1iyzkfasz7053a30h4nn24mq8ikig";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
deepin.setupHook
|
|
|
|
qmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
searchHardCodedPaths
|
|
|
|
'';
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
searchHardCodedPaths $out
|
|
|
|
'';
|
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
|
2019-04-10 11:29:46 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "UDisks2 D-Bus interfaces binding for Qt5";
|
|
|
|
homepage = https://github.com/linuxdeepin/udisks2-qt5;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|