Merge pull request #184201 from 2b/master

pixiewps: 1.2.2 -> 1.4.2
This commit is contained in:
superherointj 2022-08-03 05:12:54 -03:00 committed by GitHub
commit e38264e062
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,23 +2,21 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pixiewps"; pname = "pixiewps";
version = "1.2.2"; version = "1.4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wiire"; owner = "wiire-a";
repo = "pixiewps"; repo = "pixiewps";
rev = "v${version}"; rev = "v${version}";
sha256 = "09znnj7p8cks7zxzklkdm4zy2qnp92vhngm9r0zfgawnl2b4r2aw"; sha256 = "sha256-cJ20Gp6YaSdgUXK/ckK5Yv0rGbGXuFMP5zKZG0c4oOY=";
}; };
preBuild = '' preBuild = ''
cd src substituteInPlace Makefile --replace "/usr/local" "$out"
substituteInPlace Makefile --replace "\$(DESTDIR)/usr" "$out"
substituteInPlace Makefile --replace "/local" ""
''; '';
meta = { meta = {
description = "An offline WPS bruteforce utility"; description = "An offline WPS bruteforce utility";
homepage = "https://github.com/wiire/pixiewps"; homepage = "https://github.com/wiire-a/pixiewps";
license = lib.licenses.gpl3; license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.nico202 ]; maintainers = [ lib.maintainers.nico202 ];
platforms = lib.platforms.all; platforms = lib.platforms.all;