diff options
author | Marek Mahut <marek.mahut@gmail.com> | 2019-09-15 23:36:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-15 23:36:11 +0200 |
commit | a6878ff0dd370f9c1f182a2922799507b2f782c2 (patch) | |
tree | 9916857416fa7b628838b241d544ecdef58bdba5 /pkgs/tools/misc | |
parent | 6091d14c586a1b32f2e90c5ee482d82d42628575 (diff) | |
parent | 108d019e59b270018e1966471ea725a41851f4be (diff) |
Merge pull request #68757 from dtzWill/update/uhubctl-2.1.0
uhubctl: unstable-2019-07-31 -> 2.1.0
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/uhubctl/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/tools/misc/uhubctl/default.nix b/pkgs/tools/misc/uhubctl/default.nix index f2c0f43cca95..a6fe1853ae55 100644 --- a/pkgs/tools/misc/uhubctl/default.nix +++ b/pkgs/tools/misc/uhubctl/default.nix @@ -3,21 +3,20 @@ , libusb }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "uhubctl"; - version = "unstable-2019-07-31"; + version = "2.1.0"; src = fetchFromGitHub { owner = "mvp"; repo = "uhubctl"; - rev = "1961aa02e9924a54a6219d16c61a0beb0d626e46"; - sha256 = "15mvqp1xh079nqp0mynh3l1wmw4maa320pn4jr8bz7nh3knmk0n1"; + rev = "refs/tags/v${version}"; + sha256 = "1cgmwsf68g49k6q4jvz073bpjhg5p73kk1a4kbgkxmvx01gmbcmq"; }; buildInputs = [ libusb ]; - installFlags = [ "prefix=$(out)" ]; - + installFlags = [ "prefix=${placeholder "out"}" ]; meta = with stdenv.lib; { homepage = "https://github.com/mvp/uhubctl"; description = "Utility to control USB power per-port on smart USB hubs"; |