Commit Graph

39 Commits

Author SHA1 Message Date
Kier Davis
3732e94603
maintainers: remove kierdavis 2024-09-06 07:01:02 +01:00
Sefa Eyeoglu
416ba8804b
treewide: use addDriverRunpath
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-30 15:01:01 -04:00
Martin Weinelt
3321e63b12
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/sphinx-autobuild/default.nix
2024-03-19 04:00:32 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
a-n-n-a-l-e-e
ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
annalee
27e9083e87
hashcat: fix darwin build
use libc++ libc++abi, not libstdc++, when stdenv.cc.libcxx is non null

MACOSX_DEPLOYMENT_TARGET is defined by the environment, comment out the
definition in the Makefile as it breaks the c++ build.
2023-11-26 08:42:40 +00:00
Felix Albrigtsen
bcfcff9ad1 hashcat: patch to build on apple silicon 2023-09-08 08:25:13 +02:00
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