Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
74 lines
1.2 KiB
Nix
74 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
meson,
|
|
ninja,
|
|
vala,
|
|
gobject-introspection,
|
|
perl,
|
|
bison,
|
|
gettext,
|
|
glib,
|
|
pkg-config,
|
|
libgsf,
|
|
gcab,
|
|
bzip2,
|
|
gnome,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "msitools";
|
|
version = "0.106";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/msitools/${lib.versions.majorMinor version}/msitools-${version}.tar.xz";
|
|
hash = "sha256-HtNCec+AgPFPG48Q5klHQSVJKgiZEufKcOWd+i5aZZs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
vala
|
|
gobject-introspection
|
|
perl
|
|
bison
|
|
gettext
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
libgsf
|
|
gcab
|
|
bzip2
|
|
];
|
|
|
|
# WiX tests fail on darwin
|
|
doCheck = !stdenv.hostPlatform.isDarwin;
|
|
|
|
postPatch = ''
|
|
patchShebangs subprojects/bats-core/{bin,libexec}
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "none";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Set of programs to inspect and build Windows Installer (.MSI) files";
|
|
homepage = "https://gitlab.gnome.org/GNOME/msitools";
|
|
license = with licenses; [
|
|
# Library
|
|
lgpl21Plus
|
|
# Tools
|
|
gpl2Plus
|
|
];
|
|
maintainers = with maintainers; [ PlushBeaver ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|