depot/third_party/nixpkgs/pkgs/desktops/deepin/library/disomaster/default.nix

41 lines
742 B
Nix
Raw Normal View History

{ 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 = "Libisoburn wrapper class for Qt";
homepage = "https://github.com/linuxdeepin/disomaster";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
};
}