Unverified Commit 31d7f267 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

libphidget22: init at 0-unstable-2024-04-11 (#337398)

parents 98ebbdba 7732e956
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  automake,
  libusb1,
}:

stdenv.mkDerivation {
  pname = "libphidget22";
  version = "0-unstable-2024-04-11";

  src = fetchurl {
    url = "https://cdn.phidgets.com/downloads/phidget22/libraries/linux/libphidget22.tar.gz";
    hash = "sha256-mDoYVs0LhBb3+vzKjzYr9EmcrztmA4cy9xh5ONxHaxI=";
  };

  nativeBuildInputs = [ automake ];

  buildInputs = [ libusb1 ];

  strictDeps = true;

  meta = {
    description = "Phidget Inc sensor boards and electronics Library";
    homepage = "https://www.phidgets.com/docs/OS_-_Linux";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ mksafavi ];
    platforms = lib.platforms.linux;
  };
}
+35 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  automake,
  libusb1,
  libphidget22,
}:

stdenv.mkDerivation {
  pname = "libphidget22extra";
  version = "0-unstable-2024-04-11";

  src = fetchurl {
    url = "https://cdn.phidgets.com/downloads/phidget22/libraries/linux/libphidget22extra.tar.gz";
    hash = "sha256-UD6Crr1dl7c3NOAVNi3xrXJI3OYPLZBJX1MXVvbyEUE=";
  };

  nativeBuildInputs = [ automake ];

  buildInputs = [
    libphidget22
    libusb1
  ];

  strictDeps = true;

  meta = {
    description = "Phidget Inc sensor boards and electronics extras library";
    homepage = "https://www.phidgets.com/docs/OS_-_Linux";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ mksafavi ];
    platforms = lib.platforms.linux;
  };
}