2021-03-09 03:18:52 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, vala
|
|
|
|
, gobject-introspection
|
|
|
|
, perl
|
|
|
|
, bison
|
|
|
|
, gettext
|
|
|
|
, glib
|
|
|
|
, pkg-config
|
|
|
|
, libgsf
|
|
|
|
, gcab
|
|
|
|
, bzip2
|
2021-05-20 23:08:51 +00:00
|
|
|
, gnome
|
2021-03-09 03:18:52 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "msitools";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.103";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-07-15 17:15:38 +00:00
|
|
|
url = "mirror://gnome/sources/msitools/${lib.versions.majorMinor version}/msitools-${version}.tar.xz";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-0XYi7rvzf6TAm1m+C8jbCLJr4wCmcxx02h684mK86Dk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
vala
|
|
|
|
gobject-introspection
|
|
|
|
perl
|
|
|
|
bison
|
|
|
|
gettext
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
libgsf
|
|
|
|
gcab
|
|
|
|
bzip2
|
|
|
|
];
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
# WiX tests fail on darwin
|
|
|
|
doCheck = !stdenv.isDarwin;
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs subprojects/bats-core/{bin,libexec}
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = pname;
|
2021-03-09 03:18:52 +00:00
|
|
|
versionPolicy = "none";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Set of programs to inspect and build Windows Installer (.MSI) files";
|
|
|
|
homepage = "https://wiki.gnome.org/msitools";
|
2021-03-09 03:18:52 +00:00
|
|
|
license = with licenses; [
|
|
|
|
# Library
|
|
|
|
lgpl21Plus
|
|
|
|
# Tools
|
|
|
|
gpl2Plus
|
|
|
|
];
|
2021-02-24 18:30:23 +00:00
|
|
|
maintainers = with maintainers; [ PlushBeaver ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|