mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
libphidget22: init at 0-unstable-2024-04-11
This commit is contained in:
parent
02f52e03a9
commit
7732e956a8
31
pkgs/by-name/li/libphidget22/package.nix
Normal file
31
pkgs/by-name/li/libphidget22/package.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
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
pkgs/by-name/li/libphidget22extra/package.nix
Normal file
35
pkgs/by-name/li/libphidget22extra/package.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user