mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
uhubctl: fix darwin build
This commit is contained in:
parent
6d6744357f
commit
c496490561
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, which
|
||||
, pkg-config
|
||||
, libusb1
|
||||
}:
|
||||
|
||||
@ -15,6 +17,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-mpeDePHLsa4sGe2+8X9KQ8AYn7wtybDnaZzxnf4oETQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ which pkg-config ];
|
||||
|
||||
buildInputs = [ libusb1 ];
|
||||
|
||||
installFlags = [ "prefix=${placeholder "out"}" ];
|
||||
@ -23,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://github.com/mvp/uhubctl";
|
||||
description = "Utility to control USB power per-port on smart USB hubs";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
maintainers = with maintainers; [ prusnak carlossless ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
mainProgram = "uhubctl";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user