3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/darwin/wifi-password/default.nix

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

27 lines
626 B
Nix
Raw Normal View History

2021-01-15 14:45:37 +00:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "0.1.0";
pname = "wifi-password";
src = fetchFromGitHub {
owner = "rauchg";
repo = pname;
rev = version;
sha256 = "0sfvb40h7rz9jzp4l9iji3jg80paklqsbmnk5h7ipsv2xbsplp64";
};
installPhase = ''
mkdir -p $out/bin
cp wifi-password.sh $out/bin/wifi-password
'';
meta = {
homepage = "https://github.com/rauchg/wifi-password";
description = "Get the password of the wifi you're on";
2021-01-15 14:45:37 +00:00
platforms = lib.platforms.darwin;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.nikitavoloboev ];
};
}