2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pixiewps";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.4.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
2022-08-12 12:06:08 +00:00
|
|
|
owner = "wiire-a";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "pixiewps";
|
|
|
|
rev = "v${version}";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-cJ20Gp6YaSdgUXK/ckK5Yv0rGbGXuFMP5zKZG0c4oOY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
2022-08-12 12:06:08 +00:00
|
|
|
substituteInPlace Makefile --replace "/usr/local" "$out"
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "An offline WPS bruteforce utility";
|
2022-08-12 12:06:08 +00:00
|
|
|
homepage = "https://github.com/wiire-a/pixiewps";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = [ lib.maintainers.nico202 ];
|
2021-03-23 19:22:30 +00:00
|
|
|
platforms = lib.platforms.all;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "pixiewps";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|