mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-14 11:20:12 +00:00
40 lines
855 B
Nix
40 lines
855 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
automake,
|
|
libusb1,
|
|
libphidget22,
|
|
}:
|
|
let
|
|
|
|
# This package should be updated together with libphidget22
|
|
version = "1.25.20260512";
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "libphidget22extra";
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
url = "https://www.phidgets.com/downloads/phidget22/libraries/linux/libphidget22extra/libphidget22extra-${version}.tar.gz";
|
|
hash = "sha256-yN4g32Zx73A35yGAA5xnfEu72Nh8yH3KFmFKP5T3Pao=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|