3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/deepin/udisks2-qt5/default.nix

47 lines
850 B
Nix
Raw Normal View History

2020-05-03 20:52:19 +01:00
{ stdenv
, mkDerivation
, fetchFromGitHub
, qmake
, qtbase
, deepin
}:
mkDerivation rec {
pname = "udisks2-qt5";
2019-11-12 01:08:41 +00:00
version = "5.0.0";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
2019-11-12 01:08:41 +00:00
sha256 = "0mqxm6ixzpbg0rr6ly2kvnkpag8gjza67ya7jv4i4rihbq1d0wzi";
};
nativeBuildInputs = [
deepin.setupHook
qmake
];
buildInputs = [
qtbase
];
postPatch = ''
searchHardCodedPaths
'';
postFixup = ''
searchHardCodedPaths $out
'';
passthru.updateScript = deepin.updateScript { inherit pname version src; };
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 ];
};
}