Unverified Commit 6238558e authored by h7x4's avatar h7x4 Committed by GitHub
Browse files

Merge pull request #285855 from milomg/spoof

spoof: init at 2.0.4
parents 319b44d2 1bd37c81
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -13933,6 +13933,12 @@
    githubId = 7831184;
    name = "John Mercier";
  };
  modderme123 = {
    email = "modderme123@gmail.com";
    github = "modderme123";
    githubId = 14153763;
    name = "modderme123";
  };
  modulistic = {
    email = "modulistic@gmail.com";
    github = "modulistic";
+3472 −0

File added.

Preview size limit exceeded, changes collapsed.

+34 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}