1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/archivers/innoextract/default.nix
R. RyanTM 6ccecc8538 innoextract: 1.6 -> 1.7
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/innoextract/versions.

These checks were done:

- built on NixOS
- /nix/store/xwz5h6cg32nl698gqa8xajimdl5dy3pw-innoextract-1.7/bin/innoextract passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 1.7 with grep in /nix/store/xwz5h6cg32nl698gqa8xajimdl5dy3pw-innoextract-1.7
- directory tree listing: https://gist.github.com/9339747cc50492bc9ca2c38a4971b3c6
- du listing: https://gist.github.com/d275e3e2902e51ec26277a19a8479ad9
2018-06-14 05:31:38 -07:00

33 lines
912 B
Nix

{ stdenv, fetchurl, cmake, doxygen, makeWrapper, python
, boost, lzma
, withGog ? false, unar ? null }:
stdenv.mkDerivation rec {
name = "innoextract-1.7";
src = fetchurl {
url = "http://constexpr.org/innoextract/files/${name}.tar.gz";
sha256 = "197hs9aj1ska6czrsq4caazsw9v0xbaa0lazbh380fmwy8rbgvy1";
};
buildInputs = [ python lzma boost ];
nativeBuildInputs = [ cmake makeWrapper ];
enableParallelBuilding = true;
# we need unar to for multi-archive extraction
postFixup = stdenv.lib.optionalString withGog ''
wrapProgram $out/bin/innoextract \
--prefix PATH : ${stdenv.lib.makeBinPath [ unar ]}
'';
meta = with stdenv.lib; {
description = "A tool to unpack installers created by Inno Setup";
homepage = http://constexpr.org/innoextract/;
license = licenses.zlib;
maintainers = with maintainers; [ abbradar ];
platforms = platforms.linux;
};
}