uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
26
pkgs/os-specific/darwin/wifi-password/default.nix
Normal file
26
pkgs/os-specific/darwin/wifi-password/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ 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";
|
||||
platforms = lib.platforms.darwin;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.nikitavoloboev ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue