Skip to content

Commit

Permalink
framework-laptop-kmod: 0-unstable-2024-01-02 -> 0-unstable-2024-09-15
Browse files Browse the repository at this point in the history
add updateScript

(cherry picked from commit f388ebd)
  • Loading branch information
gaykitty authored and github-actions[bot] committed Sep 16, 2024
1 parent c9f3343 commit c7a8d43
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions pkgs/os-specific/linux/framework-laptop-kmod/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{ lib
, stdenv
, linuxPackages
, kernel
, fetchFromGitHub
, unstableGitUpdater
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "framework-laptop-kmod";
version = "0-unstable-2024-01-02";
version = "0-unstable-2024-09-15";

src = fetchFromGitHub {
owner = "DHowett";
repo = "framework-laptop-kmod";
rev = "a9e8db9ba2959b75c1fb820ffac8fa189f0f63c3";
hash = "sha256-Ai/OxvkaKPltri8R0oyfmxQLUVfaj6Q8vebrhmWYhUU=";
rev = "6164bc3dec24b6bb2806eedd269df6a170bcc930";
hash = "sha256-OwtXQR0H4GNlYjVZ5UU5MEM6ZOjlV3B0x2auYawbS2U=";
};

nativeBuildInputs = kernel.moduleBuildDependencies;
Expand All @@ -28,11 +28,15 @@ stdenv.mkDerivation rec {
runHook postInstall
'';


passthru.updateScript = unstableGitUpdater { };

meta = with lib; {
description = "A kernel module that exposes the Framework Laptop (13, 16)'s battery charge limit and LEDs to userspace.";
homepage = "https://github.com/DHowett/framework-laptop-kmod";
license = licenses.gpl2;
maintainers = with maintainers; [ gaykitty ];
platforms = platforms.linux;
broken = lib.versionOlder kernel.version "6.1";
};
}

0 comments on commit c7a8d43

Please sign in to comment.