From 1e7de7c2823a9beea7103249b732f14b1b1e8f78 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 13 Mar 2022 18:35:03 +0100 Subject: nvfetcher --- overlays/uhk-agent.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'overlays/uhk-agent.nix') 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 @@ -final: prev: +{ final, prev, sources, ... }: { uhk-agent = let - version = "1.5.15"; - - image = prev.stdenv.mkDerivation { - name = "uhk-agent-image"; - src = prev.fetchurl { - url = "https://github.com/UltimateHackingKeyboard/agent/releases/download/v${version}/UHK.Agent-${version}-linux-x86_64.AppImage"; - hash = "sha256-t2Jwd/x0eTZ4xBaCb/FomH/zSRLt7IIERUF9n9ONCpE="; - }; + image = prev.stdenv.mkDerivation (sources.uhk-agent // { buildCommand = '' install -m 0644 $src $out ''; - }; + }); appimage-run' = prev.appimage-run.override { extraPkgs = p: with p; [ -- cgit v1.2.3