diff options
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; [ |