at 23.11-beta 1.2 kB view raw
1{ lib 2, stdenv 3, fetchurl 4, meson 5, ninja 6, vala 7, gobject-introspection 8, perl 9, bison 10, gettext 11, glib 12, pkg-config 13, libgsf 14, gcab 15, bzip2 16, gnome 17}: 18 19stdenv.mkDerivation rec { 20 pname = "msitools"; 21 version = "0.103"; 22 23 src = fetchurl { 24 url = "mirror://gnome/sources/msitools/${lib.versions.majorMinor version}/msitools-${version}.tar.xz"; 25 hash = "sha256-0XYi7rvzf6TAm1m+C8jbCLJr4wCmcxx02h684mK86Dk="; 26 }; 27 28 nativeBuildInputs = [ 29 meson 30 ninja 31 vala 32 gobject-introspection 33 perl 34 bison 35 gettext 36 pkg-config 37 ]; 38 39 buildInputs = [ 40 glib 41 libgsf 42 gcab 43 bzip2 44 ]; 45 46 # WiX tests fail on darwin 47 doCheck = !stdenv.isDarwin; 48 49 postPatch = '' 50 patchShebangs subprojects/bats-core/{bin,libexec} 51 ''; 52 53 passthru = { 54 updateScript = gnome.updateScript { 55 packageName = pname; 56 versionPolicy = "none"; 57 }; 58 }; 59 60 meta = with lib; { 61 description = "Set of programs to inspect and build Windows Installer (.MSI) files"; 62 homepage = "https://wiki.gnome.org/msitools"; 63 license = with licenses; [ 64 # Library 65 lgpl21Plus 66 # Tools 67 gpl2Plus 68 ]; 69 maintainers = with maintainers; [ PlushBeaver ]; 70 platforms = platforms.unix; 71 }; 72}