2020-05-03 20:52:19 +01:00
|
|
|
{ stdenv
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkgconfig
|
|
|
|
, qmake
|
|
|
|
, qtbase
|
|
|
|
, libisoburn
|
|
|
|
, deepin
|
|
|
|
}:
|
2019-11-13 03:26:42 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "disomaster";
|
|
|
|
version = "5.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "13144gq0mpbpclzxc79fb1kirh0vvi50jvjnbpla9s8lvh59xl62";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
deepin.setupHook
|
|
|
|
pkgconfig
|
|
|
|
qmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libisoburn
|
|
|
|
qtbase
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
searchHardCodedPaths # debugging
|
|
|
|
|
|
|
|
sed -i '/^QMAKE_PKGCONFIG_DESTDIR/i QMAKE_PKGCONFIG_PREFIX = $$PREFIX' \
|
|
|
|
libdisomaster/libdisomaster.pro
|
|
|
|
'';
|
|
|
|
|
2020-05-03 21:03:55 +01:00
|
|
|
passthru.updateScript = deepin.updateScript { inherit pname version src; };
|
2019-11-13 03:26:42 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A libisoburn wrapper for Qt";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/linuxdeepin/disomaster";
|
2019-11-13 03:26:42 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ romildo worldofpeace ];
|
|
|
|
};
|
|
|
|
}
|