uhubctl: unstable-2019-07-31 -> 2.1.0

This commit is contained in:
Will Dietz 2019-09-08 22:25:24 -05:00
parent a412701c8d
commit 108d019e59
No known key found for this signature in database
GPG Key ID: EBB0EA4124809D02

View File

@ -3,21 +3,20 @@
, libusb , libusb
}: }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
pname = "uhubctl"; pname = "uhubctl";
version = "unstable-2019-07-31"; version = "2.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mvp"; owner = "mvp";
repo = "uhubctl"; repo = "uhubctl";
rev = "1961aa02e9924a54a6219d16c61a0beb0d626e46"; rev = "refs/tags/v${version}";
sha256 = "15mvqp1xh079nqp0mynh3l1wmw4maa320pn4jr8bz7nh3knmk0n1"; sha256 = "1cgmwsf68g49k6q4jvz073bpjhg5p73kk1a4kbgkxmvx01gmbcmq";
}; };
buildInputs = [ libusb ]; buildInputs = [ libusb ];
installFlags = [ "prefix=$(out)" ]; installFlags = [ "prefix=${placeholder "out"}" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/mvp/uhubctl"; homepage = "https://github.com/mvp/uhubctl";
description = "Utility to control USB power per-port on smart USB hubs"; description = "Utility to control USB power per-port on smart USB hubs";