nixpkgs/pkgs/applications/misc/gnome-multi-writer/default.nix

63 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv
2018-03-22 10:32:29 +00:00
, fetchurl
, appstream-glib
, desktop-file-utils
, gettext
, glib
, gnome
2018-03-22 10:32:29 +00:00
, gtk3
, gusb
, libcanberra-gtk3
, libgudev
, meson
, ninja
, pkg-config
2018-03-22 10:32:29 +00:00
, wrapGAppsHook
, polkit
, udisks
}:
stdenv.mkDerivation rec {
pname = "gnome-multi-writer";
2021-03-21 00:32:52 +00:00
version = "3.35.90";
2018-03-22 10:32:29 +00:00
src = fetchurl {
2021-01-15 05:42:41 +00:00
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-03-21 00:32:52 +00:00
sha256 = "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp";
2018-03-22 10:32:29 +00:00
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
gettext
meson
ninja
pkg-config
2018-03-22 10:32:29 +00:00
wrapGAppsHook
];
buildInputs = [
glib
gtk3
gusb
libcanberra-gtk3
libgudev
polkit
udisks
];
passthru = {
updateScript = gnome.updateScript {
2018-03-22 10:32:29 +00:00
packageName = pname;
};
};
meta = with lib; {
2018-03-22 10:32:29 +00:00
description = "Tool for writing an ISO file to multiple USB devices at once";
homepage = "https://wiki.gnome.org/Apps/MultiWriter";
2018-03-22 10:32:29 +00:00
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
2018-03-22 10:32:29 +00:00
platforms = platforms.linux;
};
}