2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2016-10-25 21:20:33 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "pixiewps";
|
2016-10-25 21:20:33 +02:00
|
|
|
version = "1.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wiire";
|
|
|
|
repo = "pixiewps";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "09znnj7p8cks7zxzklkdm4zy2qnp92vhngm9r0zfgawnl2b4r2aw";
|
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
cd src
|
|
|
|
substituteInPlace Makefile --replace "\$(DESTDIR)/usr" "$out"
|
|
|
|
substituteInPlace Makefile --replace "/local" ""
|
|
|
|
'';
|
2021-01-15 10:19:50 +01:00
|
|
|
|
2016-10-25 21:20:33 +02:00
|
|
|
meta = {
|
|
|
|
description = "An offline WPS bruteforce utility";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/wiire/pixiewps";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = [ lib.maintainers.nico202 ];
|
2021-03-19 07:19:48 +01:00
|
|
|
platforms = lib.platforms.all;
|
2016-10-25 21:20:33 +02:00
|
|
|
};
|
|
|
|
}
|