diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-13 18:35:03 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-13 18:35:03 +0100 |
commit | 1e7de7c2823a9beea7103249b732f14b1b1e8f78 (patch) | |
tree | ec073e219d67c52a163ae7ce2ca00737c21d2a31 /overlays/uhk-agent.nix | |
parent | 49375b980197db7b4e0d17327b52d37d6ce33f35 (diff) | |
download | nixos-1e7de7c2823a9beea7103249b732f14b1b1e8f78.tar nixos-1e7de7c2823a9beea7103249b732f14b1b1e8f78.tar.gz nixos-1e7de7c2823a9beea7103249b732f14b1b1e8f78.tar.bz2 nixos-1e7de7c2823a9beea7103249b732f14b1b1e8f78.tar.xz nixos-1e7de7c2823a9beea7103249b732f14b1b1e8f78.zip |
nvfetcher
Diffstat (limited to 'overlays/uhk-agent.nix')
-rw-r--r-- | overlays/uhk-agent.nix | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/overlays/uhk-agent.nix b/overlays/uhk-agent.nix index 1b37121f..fcf66c0b 100644 --- a/overlays/uhk-agent.nix +++ b/overlays/uhk-agent.nix | |||
@@ -1,19 +1,12 @@ | |||
1 | final: prev: | 1 | { final, prev, sources, ... }: |
2 | { | 2 | { |
3 | uhk-agent = | 3 | uhk-agent = |
4 | let | 4 | let |
5 | version = "1.5.15"; | 5 | image = prev.stdenv.mkDerivation (sources.uhk-agent // { |
6 | |||
7 | image = prev.stdenv.mkDerivation { | ||
8 | name = "uhk-agent-image"; | ||
9 | src = prev.fetchurl { | ||
10 | url = "https://github.com/UltimateHackingKeyboard/agent/releases/download/v${version}/UHK.Agent-${version}-linux-x86_64.AppImage"; | ||
11 | hash = "sha256-t2Jwd/x0eTZ4xBaCb/FomH/zSRLt7IIERUF9n9ONCpE="; | ||
12 | }; | ||
13 | buildCommand = '' | 6 | buildCommand = '' |
14 | install -m 0644 $src $out | 7 | install -m 0644 $src $out |
15 | ''; | 8 | ''; |
16 | }; | 9 | }); |
17 | 10 | ||
18 | appimage-run' = prev.appimage-run.override { | 11 | appimage-run' = prev.appimage-run.override { |
19 | extraPkgs = p: with p; [ | 12 | extraPkgs = p: with p; [ |