about summary refs log tree commit diff
path: root/pkgs/tools/archivers/unshield/default.nix
blob: c47242503c9cb4de454fa7dc5b78540287a12989 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchFromGitHub, cmake, zlib, openssl }:

stdenv.mkDerivation rec {
  name = "unshield-${version}";
  version = "1.4.2";

  src = fetchFromGitHub {
    owner = "twogood";
    repo = "unshield";
    rev = version;
    sha256 = "07lmh8vmrbqy4kd6zl5yc1ar3bg33w5cymlzwfijy6arg77hjgq9";
  };


  nativeBuildInputs = [ cmake ];
  buildInputs = [ zlib openssl ];

  meta = with stdenv.lib; {
    description = "Tool and library to extract CAB files from InstallShield installers";
    homepage = "https://github.com/twogood/unshield";
    license = licenses.mit;
    platforms = platforms.linux;
  };
}