mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
30 lines
656 B
Nix
30 lines
656 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "pixiewps";
|
|
version = "1.4.2";
|
|
src = fetchFromGitHub {
|
|
owner = "wiire-a";
|
|
repo = "pixiewps";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-cJ20Gp6YaSdgUXK/ckK5Yv0rGbGXuFMP5zKZG0c4oOY=";
|
|
};
|
|
|
|
preBuild = ''
|
|
substituteInPlace Makefile --replace "/usr/local" "$out"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Offline WPS bruteforce utility";
|
|
homepage = "https://github.com/wiire-a/pixiewps";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = [ lib.maintainers.nico202 ];
|
|
platforms = lib.platforms.all;
|
|
mainProgram = "pixiewps";
|
|
};
|
|
})
|