mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
49 lines
870 B
Nix
49 lines
870 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
autoconf,
|
|
automake,
|
|
openssl,
|
|
libgsf,
|
|
gmp,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "crackxls";
|
|
version = "1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "GavinSmith0123";
|
|
repo = "crackxls2003";
|
|
tag = "v${finalAttrs.version}";
|
|
sha256 = "sha256-CJFC4iKHHpSRQBdotmum7NjpPNUjbB6cSCs5HMXnjO8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
autoconf
|
|
automake
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
libgsf
|
|
gmp
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp crackxls2003 $out/bin/
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/GavinSmith0123/crackxls2003/";
|
|
description = "Used to break the encryption on old Microsoft Excel and Microsoft Word files";
|
|
mainProgram = "crackxls2003";
|
|
platforms = lib.platforms.linux;
|
|
license = lib.licenses.gpl3;
|
|
};
|
|
})
|