Unverified Commit 578b8eac authored by Keenan Weaver's avatar Keenan Weaver
Browse files

game-devices-udev-rules: 0.21 -> 0.22

parent 5a193fb4
Loading
Loading
Loading
Loading
+14 −13
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitea,
{ lib
, stdenv
, fetchFromGitea
, bash
}:
stdenv.mkDerivation rec {

stdenv.mkDerivation (finalAttrs: {
  pname = "game-devices-udev-rules";
  version = "0.21";
  version = "0.22";

  src = fetchFromGitea {
    domain = "codeberg.org";
    owner = "fabiscafe";
    repo = "game-devices-udev";
    rev = version;
    hash = "sha256-Yy91yDF5BSDTTlr/Pj8e0UklPooEdzvRW8mkhdHtHVo=";
    rev = finalAttrs.version;
    hash = "sha256-1aOb8pJxB+/PM7spcvZcy/cwdEolHQ4+lwBLij+6iDk=";
  };

  installPhase = ''
    runHook preInstall
  postInstall = ''
    install -Dm444 -t "$out/lib/udev/rules.d" *.rules
    runHook postInstall
    substituteInPlace $out/lib/udev/rules.d/71-powera-controllers.rules \
    --replace "/bin/sh" "${bash}/bin/bash"
  '';

  meta = with lib; {
@@ -34,4 +35,4 @@ stdenv.mkDerivation rec {
    platforms = platforms.linux;
    maintainers = with maintainers; [ keenanweaver ];
  };
}
})