1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/development/libraries/hidapi/default.nix
William A. Kennington III 7b6e70c72d hidapi: Add derivation
2014-10-24 16:37:36 -07:00

23 lines
622 B
Nix

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