Commit 0900ec79 authored by Felix Singer's avatar Felix Singer
Browse files

libgpiod: Enable nix update script

parent 52c68a56
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchgit,
  gitUpdater,
  autoreconfHook,
  autoconf-archive,
  pkg-config,
@@ -29,6 +30,11 @@ stdenv.mkDerivation rec {
    "--enable-bindings-cxx"
  ];

  passthru.updateScript = gitUpdater {
    rev-prefix = "v";
    allowedVersions = "^[0-9\\.]+$";
  };

  meta = with lib; {
    description = "C library and tools for interacting with the linux GPIO character device";
    longDescription = ''