mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +00:00
468cb5980b
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
63 lines
1.1 KiB
Nix
63 lines
1.1 KiB
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
, appstream-glib
|
|
, desktop-file-utils
|
|
, gettext
|
|
, glib
|
|
, gnome
|
|
, gtk3
|
|
, gusb
|
|
, libcanberra-gtk3
|
|
, libgudev
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wrapGAppsHook
|
|
, polkit
|
|
, udisks
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-multi-writer";
|
|
version = "3.35.90";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
appstream-glib
|
|
desktop-file-utils
|
|
gettext
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk3
|
|
gusb
|
|
libcanberra-gtk3
|
|
libgudev
|
|
polkit
|
|
udisks
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Tool for writing an ISO file to multiple USB devices at once";
|
|
homepage = "https://wiki.gnome.org/Apps/MultiWriter";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|