1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/security/crackxls/default.nix
Pavol Rusnak 2c931312ce treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
2020-11-01 23:02:24 -08:00

31 lines
773 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, openssl, libgsf, gmp }:
stdenv.mkDerivation rec {
pname = "crackxls";
version = "0.4";
src = fetchFromGitHub {
owner = "GavinSmith0123";
repo = "crackxls2003";
rev = "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;
};
}