Skip to content

Commit

Permalink
deckbd: init at 0-unstable-2023-03-16
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker1024 committed Jun 29, 2024
1 parent 2f9668e commit d76969b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,6 @@ rec {

decky-loader = final.callPackage ./pkgs/decky-loader/stable.nix { };
decky-loader-prerelease = final.callPackage ./pkgs/decky-loader/prerelease.nix { };

deckbd = final.callPackage ./pkgs/deckbd { };
}
24 changes: 24 additions & 0 deletions pkgs/deckbd/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ stdenv
, fetchFromGitHub
, pkg-config
, glib
, libevdev
}:

stdenv.mkDerivation {
pname = "deckbd";
version = "0-unstable-2023-03-16";

src = fetchFromGitHub {
owner = "Ninlives";
repo = "deckbd";
rev = "327a8c91159e1b7faa2f12b5e11060b2eb9947a8";
hash = "sha256-T7iYl1xWtk39XMUUWm1pK0WVm5UK656HmqWHKDmJ220=";
};

nativeBuildInputs = [ pkg-config ];

buildInputs = [ glib libevdev ];

makeFlags = [ "PREFIX=$(out)" ];
}

0 comments on commit d76969b

Please sign in to comment.