tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
unshield: 0.7pre3955 -> 1.3
Nikolay Amiantov
9 years ago
acf06763
5e025bc9
+28
-12
1 changed file
expand all
collapse all
unified
split
pkgs
tools
archivers
unshield
default.nix
+28
-12
pkgs/tools/archivers/unshield/default.nix
···
1
1
-
{stdenv, fetchsvn, zlib, autoconf, automake, libtool}:
1
1
+
{ stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, openssl }:
2
2
3
3
-
stdenv.mkDerivation {
4
4
-
name = "unshield-0.7pre3955";
5
5
-
src = fetchsvn {
6
6
-
url = https://synce.svn.sourceforge.net/svnroot/synce/trunk/unshield;
7
7
-
rev = 3955;
8
8
-
sha256 = "0rpk7sb7b0v19qn4jn0iih505l4zkpns3mrbmm88p61xiz06zg7a";
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "unshield-${version}";
5
5
+
version = "1.3";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "twogood";
9
9
+
repo = "unshield";
10
10
+
rev = version;
11
11
+
sha256 = "0cg84jr0ymvi8bmm3lx5hshhgm33vnr1rma1mfyqkc065c7gi9ja";
9
12
};
10
10
-
configureFlags = "--with-zlib=${zlib}";
11
11
-
buildInputs = [autoconf automake libtool];
12
12
-
preConfigure = ''
13
13
-
./bootstrap
14
14
-
'';
13
13
+
14
14
+
patches = [
15
15
+
# Fix build in separate directory
16
16
+
(fetchpatch {
17
17
+
url = "https://github.com/twogood/unshield/commit/07ce8d82f0f60b9048265410fa8063298ab520c4.patch";
18
18
+
sha256 = "160pbk2r98lv3vd0qxsxm6647qn5mddj37jzfmccdja4dpxhxz2z";
19
19
+
})
20
20
+
];
21
21
+
22
22
+
nativeBuildInputs = [ cmake ];
23
23
+
buildInputs = [ zlib openssl ];
24
24
+
25
25
+
meta = with stdenv.lib; {
26
26
+
description = "Tool and library to extract CAB files from InstallShield installers";
27
27
+
homepage = https://github.com/twogood/unshield;
28
28
+
license = licenses.mit;
29
29
+
platforms = platforms.linux;
30
30
+
};
15
31
}