7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
15 sha256 = "sha256-F3fOoZYnfIWMrESyVJ/9z6Vou1279avhs600rQayUVA=";
18 buildInputs = [ libusb1 ];
20 installFlags = [ "prefix=${placeholder "out"}" ];
23 homepage = "https://github.com/mvp/uhubctl";
24 description = "Utility to control USB power per-port on smart USB hubs";
25 license = licenses.gpl2;
26 maintainers = with maintainers; [ prusnak ];
27 platforms = with platforms; linux ++ darwin;