uhubctl: cleanup src.rev
This commit is contained in:
parent
cc9d44b2b9
commit
07cc794f57
@ -1,4 +1,5 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, libusb1
|
||||
}:
|
||||
@ -10,13 +11,14 @@ stdenv.mkDerivation rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "mvp";
|
||||
repo = "uhubctl";
|
||||
rev = "refs/tags/v${version}";
|
||||
rev = "v${version}";
|
||||
sha256 = "1wxsiygw6gwv1h90yassnxylkyi2dfz7y59qkmb7rs8a8javj7nv";
|
||||
};
|
||||
|
||||
buildInputs = [ libusb1 ];
|
||||
|
||||
installFlags = [ "prefix=${placeholder "out"}" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mvp/uhubctl";
|
||||
description = "Utility to control USB power per-port on smart USB hubs";
|
||||
|
Loading…
Reference in New Issue
Block a user