Commit 52c68a56 authored by Felix Singer's avatar Felix Singer
Browse files

libgpiod: Switch over to fetchgit



In order to enable update scripts, the git updater is needed anyway. So
just use fetchgit.

Signed-off-by: default avatarFelix Singer <felixsinger@posteo.net>
parent ecf29d59
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  fetchgit,
  autoreconfHook,
  autoconf-archive,
  pkg-config,
@@ -12,9 +12,10 @@ stdenv.mkDerivation rec {
  pname = "libgpiod";
  version = "2.2";

  src = fetchurl {
    url = "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/libgpiod-${version}.tar.gz";
    hash = "sha256-rjUynbcCfHQOkMiDuvJ8JjEfBhTmp7EVdxsoGIuZKuw=";
  src = fetchgit {
    url = "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git";
    tag = "v${version}";
    hash = "sha256-xRuYBbL2jR0ebCMI6MG/flWfhRvs6o5NDsfe6vV9VJo=";
  };

  nativeBuildInputs = [