nixpkgs-suyu/pkgs/tools/security/crackxls/default.nix
2020-04-10 17:54:53 +01:00

29 lines
776 B
Nix

{ stdenv, fetchgit, pkgconfig, autoconf, automake, openssl, libgsf, gmp }:
stdenv.mkDerivation rec {
pname = "crackxls";
version = "0.4";
src = fetchgit {
url = "https://github.com/GavinSmith0123/crackxls2003.git";
rev = "refs/tags/v${version}";
sha256 = "0q5jl7hcds3f0rhly3iy4fhhbyh9cdrfaw7zdrazzf1wswwhyssz";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ autoconf automake openssl libgsf gmp ];
installPhase =
''
mkdir -p $out/bin
cp crackxls2003 $out/bin/
'';
meta = with stdenv.lib; {
homepage = "https://github.com/GavinSmith0123/crackxls2003/";
description = "Used to break the encryption on old Microsoft Excel and Microsoft Word files";
platforms = platforms.linux;
license = licenses.gpl3;
};
}