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