mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
64 lines
1.1 KiB
Nix
64 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
|
|
, wrapGAppsHook3
|
|
, 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
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
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";
|
|
mainProgram = "gnome-multi-writer";
|
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-multi-writer";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|