forked from mirrors/nixpkgs
pyrit: remove
Stuck on python2, the upstream added a note to the projectes REAMDE to watch out for a python3 version. Nothing ever came off it.
This commit is contained in:
parent
7409e5411b
commit
a426bc246d
|
@ -1,42 +0,0 @@
|
|||
{ lib, fetchFromGitHub, python2Packages, openssl, zlib, libpcap, opencl-headers, ocl-icd }:
|
||||
|
||||
let
|
||||
version = "2019-12-13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "JPaulMora";
|
||||
repo = "Pyrit";
|
||||
rev = "f0f1913c645b445dd391fb047b812b5ba511782c";
|
||||
sha256 = "1npkvngc4g3g6mpjip2wwhvcd4a75jy3dbddxhxhzrrz4p7259gr";
|
||||
};
|
||||
|
||||
cpyrit_opencl = python2Packages.buildPythonPackage {
|
||||
pname = "cpyrit-opencl";
|
||||
inherit version;
|
||||
|
||||
src = "${src}/modules/cpyrit_opencl";
|
||||
|
||||
buildInputs = [ opencl-headers ocl-icd openssl zlib ];
|
||||
|
||||
postInstall = let
|
||||
python = python2Packages.python;
|
||||
in ''
|
||||
# pyrit uses "import _cpyrit_cuda" so put the output in the root site-packages
|
||||
mv $out/lib/${python.libPrefix}/site-packages/cpyrit/_cpyrit_opencl.so $out/lib/${python.libPrefix}/site-packages/
|
||||
'';
|
||||
};
|
||||
in
|
||||
python2Packages.buildPythonApplication rec {
|
||||
pname = "pyrit";
|
||||
inherit version src;
|
||||
|
||||
buildInputs = [ openssl zlib libpcap ];
|
||||
propagatedBuildInputs = [ cpyrit_opencl ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/JPaulMora/Pyrit";
|
||||
description = "GPGPU-driven WPA/WPA2-PSK key cracker";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ danielfullmer ];
|
||||
};
|
||||
}
|
|
@ -767,6 +767,7 @@ mapAliases ({
|
|||
phonon = throw "phonon: Please use libsForQt5.phonon, as Qt4 support in this package has been removed."; # added 2019-11-22
|
||||
pybind11 = throw "pybind11 was removed because pythonPackages.pybind11 for the appropriate version of Python should be used"; # added 2021-05-14
|
||||
pynagsystemd = throw "pynagsystemd was removed as it was unmaintained and incompatible with recent systemd versions. Instead use its fork check_systemd."; # added 2020-10-24
|
||||
pyrit = throw "pyrit has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-01
|
||||
python2nix = throw "python2nix has been removed as it is outdated. Use e.g. nixpkgs-pytools instead."; # added 2021-03-08
|
||||
python-swiftclient = swiftclient; # added 2021-09-09
|
||||
quagga = throw "quagga is no longer maintained upstream"; # added 2021-04-22
|
||||
|
|
|
@ -3599,8 +3599,6 @@ with pkgs;
|
|||
|
||||
pyCA = python3Packages.callPackage ../applications/video/pyca {};
|
||||
|
||||
pyrit = callPackage ../tools/security/pyrit {};
|
||||
|
||||
pyznap = python3Packages.callPackage ../tools/backup/pyznap {};
|
||||
|
||||
procs = callPackage ../tools/admin/procs {
|
||||
|
|
Loading…
Reference in a new issue