about summary refs log tree commit diff
path: root/pkgs/tools/security/crackxls
diff options
context:
space:
mode:
authorEmil Rangden <emil.rangden@chas.se>2015-06-01 16:15:19 +0200
committerEmil Rangden <emil.rangden@chas.se>2015-06-01 16:15:19 +0200
commit10acbd67164672d4334b7d5cb162157e9e9468bf (patch)
tree2c43b48f3c81dd033c8333d6177fae9d74017be4 /pkgs/tools/security/crackxls
parent0645f5eab7b98e57cbbf51cab7fc77b4762b44b7 (diff)
new package: crackxls
Diffstat (limited to 'pkgs/tools/security/crackxls')
-rw-r--r--pkgs/tools/security/crackxls/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/security/crackxls/default.nix b/pkgs/tools/security/crackxls/default.nix
new file mode 100644
index 0000000000000..ba2bee2ffc2fb
--- /dev/null
+++ b/pkgs/tools/security/crackxls/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchgit, autoconf, automake, openssl, libgsf }:
+
+stdenv.mkDerivation rec {
+
+  name = "crackxls-${version}";
+  version = "v0.4";
+
+  src = fetchgit {
+    url = https://github.com/GavinSmith0123/crackxls2003.git;
+    rev = "refs/tags/${version}";
+    sha256 = "0q5jl7hcds3f0rhly3iy4fhhbyh9cdrfaw7zdrazzf1wswwhyssz";
+  };
+
+  buildInputs = [ openssl libgsf automake autoconf ];
+
+  installPhase =
+  ''
+    mkdir $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.none;
+    license = licenses.gpl3;
+  };
+}