disomaster: init at 5.0.8

This commit is contained in:
rewine 2023-01-07 16:57:40 +08:00 committed by rewine
parent 88d1f28740
commit 7d5b5077b8
2 changed files with 41 additions and 1 deletions

View file

@ -11,7 +11,7 @@ let
dtkwidget = callPackage ./library/dtkwidget { };
qt5platform-plugins = callPackage ./library/qt5platform-plugins { };
qt5integration = callPackage ./library/qt5integration { };
disomaster = callPackage ./library/disomaster { };
};
in
lib.makeScope libsForQt5.newScope packages

View file

@ -0,0 +1,40 @@
{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, qmake
, qttools
, wrapQtAppsHook
, libisoburn
}:
stdenv.mkDerivation rec {
pname = "disomaster";
version = "5.0.8";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-wN8mhddqqzYXkT6rRWsHVCWzaG2uRcF2iiFHlZx2LfY=";
};
nativeBuildInputs = [
qmake
qttools
pkg-config
wrapQtAppsHook
];
buildInputs = [ libisoburn ];
qmakeFlags = [ "VERSION=${version}" ];
meta = with lib; {
description = "A libisoburn wrapper class for Qt";
homepage = "https://github.com/linuxdeepin/disomaster";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
};
}