about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/archivers/unshield/default.nix
blob: b3d023df59b78af6c79ac39c0468e83ad811fe0b (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
{ lib, stdenv, fetchFromGitHub, cmake, zlib, openssl }:

stdenv.mkDerivation rec {
  pname = "unshield";
  version = "1.5.1";

  src = fetchFromGitHub {
    owner = "twogood";
    repo = "unshield";
    rev = version;
    sha256 = "1p2inn93svm83kr5p0j1al0rx47f1zykmagxsblgy04gi942iza3";
  };

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

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