mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
parent
37e60e78c8
commit
cdc986c996
1 changed files with 11 additions and 1 deletions
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
pname = "gusb";
|
pname = "gusb";
|
||||||
version = "0.4.6";
|
version = "0.4.6";
|
||||||
|
|
||||||
outputs = [ "bin" "out" "dev" ];
|
outputs = [ "bin" "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hughsie";
|
owner = "hughsie";
|
||||||
|
@ -43,6 +43,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
|
depsBuildBuild = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
|
@ -70,6 +74,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = false; # tests try to access USB
|
doCheck = false; # tests try to access USB
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
|
||||||
|
ls -la "$out/share/doc"
|
||||||
|
moveToOutput "share/doc" "$devdoc"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "GLib libusb wrapper";
|
description = "GLib libusb wrapper";
|
||||||
homepage = "https://github.com/hughsie/libgusb";
|
homepage = "https://github.com/hughsie/libgusb";
|
||||||
|
|
Loading…
Reference in a new issue