From 87530053481bc6634926d0a3a695abdb9d0b3bca Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Tue, 8 Mar 2022 14:04:42 +0100 Subject: [PATCH] das_watchdog: switch to fetchFromGitHub --- pkgs/tools/system/das_watchdog/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/system/das_watchdog/default.nix b/pkgs/tools/system/das_watchdog/default.nix index 65be63bffe12..ec7eb2b173d0 100644 --- a/pkgs/tools/system/das_watchdog/default.nix +++ b/pkgs/tools/system/das_watchdog/default.nix @@ -1,13 +1,14 @@ -{ lib, stdenv, fetchgit, libgtop, xmessage, which, pkg-config }: +{ lib, stdenv, fetchFromGitHub, libgtop, xmessage, which, pkg-config }: stdenv.mkDerivation { pname = "das_watchdog"; version = "unstable-2015-09-12"; - src = fetchgit { - url = "https://github.com/kmatheussen/das_watchdog.git"; + src = fetchFromGitHub { + owner = "kmatheussen"; + repo = "das_watchdog"; rev = "5ac0db0b98e5b4e690aca0aa7fb6ec60ceddcb06"; - sha256 = "02y1vfb3wh4908xjj1kpyf8kgxk29x8dw7yl3pnl220qz2gi99vr"; + sha256 = "sha256-eacUn/gYCEHtHdQf3lBPYvY3kfN3Bik7AolAPpbbwQs="; }; nativeBuildInputs = [ pkg-config ];