usb-1.3.0.4: shell.nix
{ nixpkgs ? import <nixpkgs> {}, compiler ? "default" }:
let
inherit (nixpkgs) pkgs;
haskellPackages = if compiler == "default"
then pkgs.haskellPackages
else pkgs.haskell.packages.${compiler};
drv = haskellPackages.callPackage (import ./usb.nix) {};
in
if pkgs.lib.inNixShell then drv.env else drv