summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-07 22:59:01 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-07 22:59:01 +0100
commit876c5c44867aec221a36c3b1319d96c8c3df9e44 (patch)
treecb078a9fb0fae5f27c3f53eafd013c078d02624c /overlays
parentce335982e5346d8c71f82ac745c478e194be3025 (diff)
downloadnixos-876c5c44867aec221a36c3b1319d96c8c3df9e44.tar
nixos-876c5c44867aec221a36c3b1319d96c8c3df9e44.tar.gz
nixos-876c5c44867aec221a36c3b1319d96c8c3df9e44.tar.bz2
nixos-876c5c44867aec221a36c3b1319d96c8c3df9e44.tar.xz
nixos-876c5c44867aec221a36c3b1319d96c8c3df9e44.zip
Revert "gkleen@sif: wifi2qr"
This reverts commit ce335982e5346d8c71f82ac745c478e194be3025.
Diffstat (limited to 'overlays')
-rw-r--r--overlays/wifi2qr.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/overlays/wifi2qr.nix b/overlays/wifi2qr.nix
deleted file mode 100644
index 72b1535f..00000000
--- a/overlays/wifi2qr.nix
+++ /dev/null
@@ -1,29 +0,0 @@
1final: prev:
2let
3 rev = "407ceb7cc5b72598aed79fb59c5c8c545b951f8e";
4in {
5 wifi2qr = prev.stdenv.mkDerivation {
6 name = "wifi2qr";
7 version = builtins.substring 0 8 rev;
8 src = prev.fetchurl {
9 url = "https://raw.githubusercontent.com/dlenski/wifi2qr/${rev}/wifi2qr";
10 hash = "sha256-FmiSlYhq3SoUNaWMByvHGO91dFsc3Px++WIkDsXZP6g=";
11 };
12
13 buildInputs = [ prev.makeWrapper ];
14
15 phases = ["unpackPhase" "patchPhase" "installPhase"];
16 unpackPhase = ''
17 install -m 0644 $src wifi2qr
18 '';
19 patchPhase = ''
20 ${prev.gnused}/bin/sed -ri 's|#!/bin/bash|#!${final.bash}/bin/bash|' wifi2qr
21 '';
22 installPhase = ''
23 mkdir -p $out/bin
24 install -m 0755 -t $out/bin wifi2qr
25 wrapProgram $out/bin/wifi2qr \
26 --set PATH ${final.which}/bin:${final.coreutils}/bin:${final.gnugrep}/bin:${final.gnused}/bin:${final.libqrencode}/bin:${final.networkmanager}/bin
27 '';
28 };
29}