2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2016-10-25 19:20:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "pixiewps";
|
2022-07-31 11:15:35 +00:00
|
|
|
version = "1.4.2";
|
2016-10-25 19:20:33 +00:00
|
|
|
src = fetchFromGitHub {
|
2022-07-31 11:14:55 +00:00
|
|
|
owner = "wiire-a";
|
2016-10-25 19:20:33 +00:00
|
|
|
repo = "pixiewps";
|
|
|
|
rev = "v${version}";
|
2022-07-31 11:15:35 +00:00
|
|
|
sha256 = "sha256-cJ20Gp6YaSdgUXK/ckK5Yv0rGbGXuFMP5zKZG0c4oOY=";
|
2016-10-25 19:20:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
2022-07-31 11:15:35 +00:00
|
|
|
substituteInPlace Makefile --replace "/usr/local" "$out"
|
2016-10-25 19:20:33 +00:00
|
|
|
'';
|
2021-01-15 09:19:50 +00:00
|
|
|
|
2016-10-25 19:20:33 +00:00
|
|
|
meta = {
|
|
|
|
description = "An offline WPS bruteforce utility";
|
2022-07-31 11:14:55 +00:00
|
|
|
homepage = "https://github.com/wiire-a/pixiewps";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = [ lib.maintainers.nico202 ];
|
2021-03-19 06:19:48 +00:00
|
|
|
platforms = lib.platforms.all;
|
2016-10-25 19:20:33 +00:00
|
|
|
};
|
|
|
|
}
|