commit
d21fcc53ee
@ -0,0 +1,15 @@
|
||||
{ cabal, bindingsDSL, libusb }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "bindings-libusb";
|
||||
version = "1.4.4.1";
|
||||
sha256 = "1cip5a0n8svjkzawpx3wi9z7nywmn9bl3k2w559b3awy0wixybrx";
|
||||
buildDepends = [ bindingsDSL ];
|
||||
pkgconfigDepends = [ libusb ];
|
||||
meta = {
|
||||
homepage = "https://github.com/basvandijk/bindings-libusb";
|
||||
description = "Low level bindings to libusb";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
14
pkgs/development/libraries/haskell/usb/default.nix
Normal file
14
pkgs/development/libraries/haskell/usb/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ cabal, baseUnicodeSymbols, bindingsLibusb, text, vector }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "usb";
|
||||
version = "1.2";
|
||||
sha256 = "1k73avkmpbmg6iq2kmwhg2ifibni5c1yp202afdb6v7w5akvmc0b";
|
||||
buildDepends = [ baseUnicodeSymbols bindingsLibusb text vector ];
|
||||
meta = {
|
||||
homepage = "http://basvandijk.github.com/usb";
|
||||
description = "Communicate with USB devices";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -599,6 +599,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
||||
|
||||
bindingsDSL = callPackage ../development/libraries/haskell/bindings-DSL {};
|
||||
|
||||
bindingsLibusb = callPackage ../development/libraries/haskell/bindings-libusb {
|
||||
libusb = pkgs.libusb1;
|
||||
};
|
||||
|
||||
bindingsPosix = callPackage ../development/libraries/haskell/bindings-posix {};
|
||||
|
||||
bitarray = callPackage ../development/libraries/haskell/bitarray {};
|
||||
@ -2143,6 +2147,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
||||
|
||||
urlencoded = callPackage ../development/libraries/haskell/urlencoded {};
|
||||
|
||||
usb = callPackage ../development/libraries/haskell/usb {};
|
||||
|
||||
utf8Light = callPackage ../development/libraries/haskell/utf8-light {};
|
||||
|
||||
utf8String = callPackage ../development/libraries/haskell/utf8-string {};
|
||||
|
Loading…
Reference in New Issue
Block a user