Skip to content

Commit

Permalink
libjaylink: Move package definition into by-name directory (#338675)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4A6F authored Sep 7, 2024
2 parents bcfaad6 + 844c320 commit 442210e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{ fetchFromGitLab, lib, stdenv
, autoreconfHook, pkg-config
, libusb1
{
fetchFromGitLab,
lib,
stdenv,
autoreconfHook,
pkg-config,
libusb1,
}:

stdenv.mkDerivation rec {
Expand All @@ -12,10 +16,13 @@ stdenv.mkDerivation rec {
owner = "libjaylink";
repo = "libjaylink";
rev = version;
sha256 = "sha256-odJDE1A0WZ9vBXPxaUdthjTgmbmbdHjbyY1PkaM4+vI=";
hash = "sha256-odJDE1A0WZ9vBXPxaUdthjTgmbmbdHjbyY1PkaM4+vI=";
};

nativeBuildInputs = [ autoreconfHook pkg-config ];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [ libusb1 ];

postPatch = ''
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22175,8 +22175,6 @@ with pkgs;

liburcu = callPackage ../development/libraries/liburcu { };

libjaylink = callPackage ../development/libraries/libjaylink { };

libusb-compat-0_1 = callPackage ../development/libraries/libusb-compat/0.1.nix { };

libusb1 = callPackage ../development/libraries/libusb1 {
Expand Down

0 comments on commit 442210e

Please sign in to comment.