unshield: 1.3 -> 1.4.2

This commit is contained in:
ndowens 2017-03-03 15:39:26 -06:00 committed by Graham Christensen
parent abc0421c46
commit 918a4e649d
No known key found for this signature in database
GPG Key ID: 06121D366FE9435C

View File

@ -1,30 +1,23 @@
{ stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, openssl }: { stdenv, fetchFromGitHub, cmake, zlib, openssl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "unshield-${version}"; name = "unshield-${version}";
version = "1.3"; version = "1.4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "twogood"; owner = "twogood";
repo = "unshield"; repo = "unshield";
rev = version; rev = version;
sha256 = "0cg84jr0ymvi8bmm3lx5hshhgm33vnr1rma1mfyqkc065c7gi9ja"; sha256 = "07lmh8vmrbqy4kd6zl5yc1ar3bg33w5cymlzwfijy6arg77hjgq9";
}; };
patches = [
# Fix build in separate directory
(fetchpatch {
url = "https://github.com/twogood/unshield/commit/07ce8d82f0f60b9048265410fa8063298ab520c4.patch";
sha256 = "160pbk2r98lv3vd0qxsxm6647qn5mddj37jzfmccdja4dpxhxz2z";
})
];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ zlib openssl ]; buildInputs = [ zlib openssl ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Tool and library to extract CAB files from InstallShield installers"; description = "Tool and library to extract CAB files from InstallShield installers";
homepage = https://github.com/twogood/unshield; homepage = "https://github.com/twogood/unshield";
license = licenses.mit; license = licenses.mit;
platforms = platforms.linux; platforms = platforms.linux;
}; };