Files
nixpkgs/pkgs/by-name/sp/spoof/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

36 lines
736 B
Nix

{
lib,
buildNpmPackage,
fetchFromGitHub,
}:
buildNpmPackage rec {
pname = "spoof";
version = "2.0.4";
src = fetchFromGitHub {
owner = "feross";
repo = "spoof";
rev = "v${version}";
hash = "sha256-oysURKLQ/rbGAvsy3K0OmDRHUqRKa8S8l5ihBjNqYXc=";
};
npmDepsHash = "sha256-jf0tcsftXoYy6K3PcXgSU+3PAb6Ux9BsVpOX79TI4/o=";
postPatch = ''
cp ${./package-lock.json} package-lock.json
'';
npmFlags = [ "--ignore-scripts" ];
dontNpmBuild = true;
meta = {
description = "Easily spoof your MAC address in OS X & Linux";
homepage = "https://github.com/feross/spoof";
license = lib.licenses.mit;
mainProgram = "spoof";
maintainers = with lib.maintainers; [ modderme123 ];
};
}