uhubctl: cleanup src.rev
This commit is contained in:
parent
cc9d44b2b9
commit
07cc794f57
@ -1,4 +1,5 @@
|
|||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, libusb1
|
, libusb1
|
||||||
}:
|
}:
|
||||||
@ -10,13 +11,14 @@ stdenv.mkDerivation rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mvp";
|
owner = "mvp";
|
||||||
repo = "uhubctl";
|
repo = "uhubctl";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1wxsiygw6gwv1h90yassnxylkyi2dfz7y59qkmb7rs8a8javj7nv";
|
sha256 = "1wxsiygw6gwv1h90yassnxylkyi2dfz7y59qkmb7rs8a8javj7nv";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libusb1 ];
|
buildInputs = [ libusb1 ];
|
||||||
|
|
||||||
installFlags = [ "prefix=${placeholder "out"}" ];
|
installFlags = [ "prefix=${placeholder "out"}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with 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