nixpkgs/pkgs/tools/networking/pixiewps/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
601 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchFromGitHub }:
2016-10-25 19:20:33 +00:00
stdenv.mkDerivation rec {
pname = "pixiewps";
2022-07-31 11:15:35 +00:00
version = "1.4.2";
2016-10-25 19:20:33 +00:00
src = fetchFromGitHub {
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";
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
};
}