mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
47 lines
901 B
Nix
47 lines
901 B
Nix
{ lib
|
|
, stdenv
|
|
, adwaita-qt6
|
|
, appstream-glib
|
|
, cmake
|
|
, fetchFromGitHub
|
|
, qt6
|
|
, udisks2
|
|
, xz
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mediawriter";
|
|
version = "5.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FedoraQt";
|
|
repo = "MediaWriter";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-w32Ps+GrbMq4Wot6vWyZS03Tv2rfTDnFLS7VwrcJLcc=";
|
|
};
|
|
|
|
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 ];
|
|
mainProgram = "mediawriter";
|
|
};
|
|
}
|