depot/third_party/nixpkgs/pkgs/by-name/li/libphidget22/package.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

31 lines
690 B
Nix

{
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;
};
}