let v."1.10.0" = "sha256-deMxbLHnD1jDvQaAzhGiCF1vt11IpF6Ao2OF6zJuJ9A="; in { callPackage, jetperch, name ? "pyjoulescope-driver", version ? "1.10.0", hash ? v.${version} or "", udev, }: (callPackage ../python.nix { inherit name; inherit jetperch; inherit version; inherit hash; repo = "joulescope_driver"; pydeps = py: with py; [ numpy requests psutil ]; } ).overrideAttrs (final: prev: { nativeBuildInputs = (prev.nativeBuildInputs or []) ++ [ [ udev udev.dev ] ]; NIX_CFLAGS_COMPILE = (prev.NIX_CFLAGS_COMPILE or []) ++ [ "-I${udev.dev}/include" ]; NIX_LDFLAGS = (prev.NIX_LDFLAGS or []) ++ [ "-L${udev}/lib" ]; dontUseCmakeConfigure = true; })