lol

rarcrack: init at 0.2

davidak 0ed01e04 148396c0

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