2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, adwaita-qt6
|
|
|
|
, appstream-glib
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitHub
|
|
|
|
, qt6
|
|
|
|
, udisks2
|
|
|
|
, xz
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mediawriter";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "5.0.9";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "FedoraQt";
|
|
|
|
repo = "MediaWriter";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-FmMiv78r95shCpqN5PV6Oxms/hQY9ycqRn9L61aR8n4=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
qt6.wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
adwaita-qt6
|
|
|
|
appstream-glib
|
|
|
|
qt6.qtbase
|
|
|
|
qt6.qtdeclarative
|
|
|
|
qt6.qtsvg
|
|
|
|
udisks2
|
|
|
|
xz
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to write images files to portable media";
|
|
|
|
homepage = "https://github.com/FedoraQt/MediaWriter";
|
|
|
|
changelog = "https://github.com/FedoraQt/MediaWriter/releases/tag/${version}";
|
|
|
|
license = licenses.lgpl2Only;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "mediawriter";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
}
|