Commit Graph

32 Commits

Author SHA1 Message Date
Someone Serge
471dbe9bcf
treewide: consume config.cudaSupport as required
Eliminate uses of `config.cudaSupport or false` and alike, since the
option is now declared in config.nix with a default value

fd .nix -t f -x sed 's/config\.cudaSupport or false, cudaPackages [?] [{][}]/config.cudaSupport, cudaPackages ? { }/' '{}' -i
fd .nix -t f -x sed 's/config\.cudaSupport or false/config.cudaSupport/' '{}' -i
fd .nix -t f -x sed 's/cudaSupport = pkgs.config.cudaSupport/inherit (pkgs.config) cudaSupport/' '{}' -i
fd .nix -t f -x sed 's/cudaSupport = config.cudaSupport/inherit (config) cudaSupport/' '{}' -i
2023-07-20 18:08:19 +03:00
Emily Trau
ebefd134e5
hashcat: support darwin (#244289) 2023-07-19 11:07:08 +02:00
Andrew Marshall
54769c6fa1
hashcat: add CUDA support (#240735)
Previously, hashcat was unable to use CUDA at runtime, and would warn:

> Failed to initialize the NVIDIA main driver CUDA runtime library.
> Failed to initialize NVIDIA RTC library.
> * Device #1: CUDA SDK Toolkit not installed or incorrectly installed.
>              CUDA SDK Toolkit required for proper device support and utilization.
>              Falling back to OpenCL runtime.

This remedies that, at least on NixOS.
2023-07-01 10:59:09 +02:00
R. RyanTM
aa192bd897
hashcat: 6.2.5 -> 6.2.6 (#189921) 2022-09-06 10:52:49 +02:00
Fabian Affolter
3076b3d087 hashcat: 6.2.4 -> 6.2.5 2021-11-28 13:33:25 +01:00
Fabian Affolter
98429b2de9 hashcat: 6.2.3 -> 6.2.4 2021-08-31 14:28:55 +02:00
R. RyanTM
4a338e3317
hashcat: 6.2.2 -> 6.2.3 (#130870) 2021-07-21 08:37:02 +02:00
ElXreno
92a5fe180a
hashcat: 6.2.1 -> 6.2.2 (#126820)
Change-Id: I3aa4d98b448b1a046cdcc103011c58a1a67c23de
2021-06-14 18:57:27 +02:00
R. RyanTM
06741b34d8
hashcat: 6.1.1 -> 6.2.1 (#123256) 2021-05-16 20:50:14 +00:00
Arthur Gautier
ab8e2e46d9
hashcat: fixup opencl support (#121961)
This fixes the following compilation error:
```
clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

/run/user/1000/comgr-64ff7f/input/CompileSource:2252:18: fatal error:
cannot open file
'/run/user/1000/comgr-64ff7f/input/inc_comp_multi_bs.cl': No such file
or directory
        #include COMPARE_M
                 ^
/run/user/1000/comgr-64ff7f/input/CompileSource:16:19: note: expanded
from macro 'COMPARE_M'
                  ^
1 error generated.
Error: Failed to compile opencl source (from CL or HIP source to LLVM
IR).
```

Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-05-11 14:01:35 +02:00
fasheng
c1d56239b8 hashcat: Fix OpenCL support for ROCm
Fix OpenCL issue like darktable did.

Confirm that `hashcat -b -m 2500` can be successfully executed on
ROCm/RX 580.
2021-02-22 10:16:34 +08:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
R. RyanTM
988b64e5e9
hashcat: 6.0.0 -> 6.1.1 (#94449) 2020-08-01 15:37:09 +00:00
Pavol Rusnak
09e64cf96b
hashcat: 5.1.0 -> 6.0.0 (#91063) 2020-06-19 10:36:08 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Vladyslav M
b39e516708
hashcat: 5.0.0 -> 5.1.0 2019-05-28 11:51:43 +03:00
Jan Tojnar
76d8df7b32
hashcat: clean up with placeholder 2019-01-08 03:51:22 +01:00
Kier Davis
df462d09e4
hashcat: 4.2.1 -> 5.0.0
This introduces a dependency on xxHash. Unfortunately, hashcat's
build system wants to rebuild xxHash from the source code located
in `<hashcat source root>/deps/git/xxHash`, a Git submodule whose
contents are not included in the source tarball we currently
download.

This could be fixed by either using a recursive git clone instead
a tarball download, or patching the build files to use an existing
installation of xxHash (i.e. the one already provided by Nix). I
believe the latter is preferable since it avoids the situation in
which the xxHash version used by hashcat is different to the xxHash
version used by all other Nix packages.

Fortunately, this situation has been greatly improved [1] since
release 5.0.0; the next release of hashcat should drop usage of
git submodules and provide better support for using existing
installations of dependencies.

[1] 4177e1ee28
2018-11-17 20:10:52 +00:00
R. RyanTM
500319c4b6 hashcat: 4.1.0 -> 4.2.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/hashcat/versions.
2018-08-08 16:15:05 -07:00
Franz Pletz
9415c5f417
hashcat: 4.0.1 -> 4.1.0 2018-03-04 09:20:40 +01:00
Orivej Desh
67a86f7813 hashcat: 4.0.0 -> 4.0.1
Upstream has moved 4.0.0 into https://hashcat.net/files_legacy/hashcat-4.0.0.7z
2017-12-04 14:48:46 +00:00
zimbatm
a209f56d6d hashcat: 2.00 -> 4.0.0
remove 3.6.0 which was not the default
2017-11-01 15:06:06 +00:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Franz Pletz
fd647dc0cf
hashcat3: 3.10 -> 3.6.0
Upstream switched versioning scheme.
2017-08-01 08:36:39 +02:00
Kier Davis
b81124b4fb
Fix hooks not being called when overriding phases in various packages
It's necessary to do this in order to fix ckb's compilation, now that
fixupPhase rejects derivation results containing references to the temporary
build directory. It seems like good practice so I've added it to the
other packages that I maintain.
2017-06-05 19:13:19 +01:00
Nikolay Amiantov
10bae1a207 opencl-icd: remove, point to ocl-icd 2017-01-20 03:37:51 +03:00
Kier Davis
7200424589
hashcat3: init at 3.10 2016-12-07 11:25:32 +00:00
Bjørn Forsman
800042b310 hashcat: 0.49 -> 2.00
The current URL is broken, upstream has moved the download from .../files/ to
.../files_legacy/. But after fixing that, starting hashcat results in:

  $ ./result/bin/hashcat
  ERROR: this copy of hashcat is outdated. Get a more recent version.

So just update to latest.

New releases are on github, the license is now MIT and there are build
system changes.
2016-05-10 22:11:12 +02:00
Emil Rangden
51bb5e85dc hashcat: fix build and update to 0.49 2015-06-01 15:58:07 +02:00
John Wiegley
28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Eelco Dolstra
ce6b86cc68 Fix various evaluation problems
http://hydra.nixos.org/build/13616685
2014-08-22 11:57:40 +02:00
Austin Seipp
cff179f829 hashcat: version 0.47
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-03-31 10:56:02 -05:00