2016-10-25 20:20:33 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pixiewps";
|
2016-10-25 20:20:33 +01: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" ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An offline WPS bruteforce utility";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/wiire/pixiewps";
|
2016-10-25 20:20:33 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2017-12-05 22:20:11 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.nico202 ];
|
2016-10-25 20:20:33 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|