mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 16:34:15 +03:00
uhubctl: unstable-2019-07-31 -> 2.1.0
This commit is contained in:
parent
a412701c8d
commit
108d019e59
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user