tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
rarcrack: init at 0.2
davidak
10 years ago
0ed01e04
148396c0
+41
2 changed files
expand all
collapse all
unified
split
pkgs
tools
security
rarcrack
default.nix
top-level
all-packages.nix
+39
pkgs/tools/security/rarcrack/default.nix
reviewed
···
1
1
+
{stdenv, fetchFromGitHub, libxml2, file, p7zip, unrar, unzip}:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "rarcrack-${version}";
5
5
+
version = "0.2";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "jaredsburrows";
9
9
+
repo = "Rarcrack";
10
10
+
rev = "35ead64cd2b967eec3e3e3a4c328b89b11ff32a0";
11
11
+
sha256 = "134fq84896w5vp8vg4qg0ybpb466njibigyd7bqqm1xydr07qrgn";
12
12
+
};
13
13
+
14
14
+
buildInputs = [ libxml2 file p7zip unrar unzip ];
15
15
+
buildFlags = if stdenv.cc.isClang then [ "CC=clang" ] else null;
16
16
+
installFlags = "PREFIX=\${out}";
17
17
+
18
18
+
patchPhase = ''
19
19
+
substituteInPlace rarcrack.c --replace "file -i" "${file}/bin/file -i"
20
20
+
'';
21
21
+
22
22
+
preInstall = ''
23
23
+
mkdir -p $out/bin
24
24
+
'';
25
25
+
26
26
+
meta = with stdenv.lib; {
27
27
+
description = "This program can crack zip,7z and rar file passwords";
28
28
+
longDescription = ''
29
29
+
If you forget your password for compressed archive (rar, 7z, zip), this program is the solution.
30
30
+
This program uses bruteforce algorithm to find correct password. You can specify wich characters will be used in password generations.
31
31
+
Warning: Please don't use this program for any illegal things!
32
32
+
'';
33
33
+
homepage = https://github.com/jaredsburrows/Rarcrack;
34
34
+
license = licenses.gpl2;
35
35
+
maintainers = with maintainers; [ davidak ];
36
36
+
platforms = with platforms; unix;
37
37
+
};
38
38
+
}
39
39
+
+2
pkgs/top-level/all-packages.nix
reviewed
···
2893
2893
2894
2894
ranger = callPackage ../applications/misc/ranger { };
2895
2895
2896
2896
+
rarcrack = callPackage ../tools/security/rarcrack { };
2897
2897
+
2896
2898
rawdog = callPackage ../applications/networking/feedreaders/rawdog { };
2897
2899
2898
2900
read-edid = callPackage ../os-specific/linux/read-edid { };