3
0
Fork 0
forked from mirrors/nixpkgs

uhubctl: init at unstable-2019-07-31

This commit is contained in:
Pavol Rusnak 2019-08-20 11:38:01 +02:00
parent fa12335f42
commit e06d89ab59
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv
, fetchFromGitHub
, libusb
}:
stdenv.mkDerivation rec {
pname = "uhubctl";
version = "unstable-2019-07-31";
src = fetchFromGitHub {
owner = "mvp";
repo = "uhubctl";
rev = "1961aa02e9924a54a6219d16c61a0beb0d626e46";
sha256 = "15mvqp1xh079nqp0mynh3l1wmw4maa320pn4jr8bz7nh3knmk0n1";
};
buildInputs = [ libusb ];
installFlags = [ "prefix=$(out)" ];
meta = with stdenv.lib; {
homepage = "https://github.com/mvp/uhubctl";
description = "Utility to control USB power per-port on smart USB hubs";
license = licenses.gpl2;
maintainers = with maintainers; [ prusnak ];
platforms = with platforms; linux ++ darwin;
};
}

View file

@ -24768,4 +24768,6 @@ in
zfs-replicate = python3Packages.callPackage ../tools/backup/zfs-replicate { };
runwayml = callPackage ../applications/graphics/runwayml {};
uhubctl = callPackage ../tools/misc/uhubctl {};
}