mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
hidapi: Add derivation
This commit is contained in:
parent
5204bdaf6b
commit
7b6e70c72d
22
pkgs/development/libraries/hidapi/default.nix
Normal file
22
pkgs/development/libraries/hidapi/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, udev, libusb }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "hidapi-0.8.0-rc1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "signal11";
|
||||
repo = "hidapi";
|
||||
rev = name;
|
||||
sha256 = "13d5jkmh9nh4c2kjch8k8amslnxapa9vkqzrk1z6rqmw8qgvzbkj";
|
||||
};
|
||||
|
||||
buildInputs = [ autoreconfHook pkgconfig udev libusb ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/signal11/hidapi;
|
||||
description = "for communicating with USB and Bluetooth HID devices";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ wkennington ];
|
||||
};
|
||||
}
|
@ -5335,6 +5335,10 @@ let
|
||||
|
||||
herqq = callPackage ../development/libraries/herqq { };
|
||||
|
||||
hidapi = callPackage ../development/libraries/hidapi {
|
||||
libusb = libusb1;
|
||||
};
|
||||
|
||||
hspell = callPackage ../development/libraries/hspell { };
|
||||
|
||||
hspellDicts = callPackage ../development/libraries/hspell/dicts.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user