Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 27 lines 815 B view raw
1{ stdenv, fetchurl, intltool, glib, pkgconfig, libgsf, libuuid, gcab, bzip2, gnome3 }: 2 3stdenv.mkDerivation rec { 4 pname = "msitools"; 5 version = "0.98"; 6 7 src = fetchurl { 8 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 sha256 = "19wb3n3nwkpc6bjr0q3f1znaxsfaqgjbdxxnbx8ic8bb5b49hwac"; 10 }; 11 12 nativeBuildInputs = [ intltool pkgconfig ]; 13 buildInputs = [ glib libgsf libuuid gcab bzip2 ]; 14 15 passthru = { 16 updateScript = gnome3.updateScript { 17 packageName = pname; 18 }; 19 }; 20 21 meta = with stdenv.lib; { 22 description = "Set of programs to inspect and build Windows Installer (.MSI) files"; 23 homepage = "https://wiki.gnome.org/msitools"; 24 license = [ licenses.gpl2 licenses.lgpl21 ]; 25 platforms = platforms.unix; 26 }; 27}