framework-laptop-kmod: 0-unstable-2024-01-02 -> 0-unstable-2024-09-15

add updateScript
This commit is contained in:
gaykitty 2024-08-17 19:08:42 -04:00 committed by John Titor
parent 9a5abffb5e
commit f388ebdb19
No known key found for this signature in database
GPG Key ID: 29B0514F4E3C1CC0

View File

@ -1,19 +1,19 @@
{ lib { lib
, stdenv , stdenv
, linuxPackages
, kernel , kernel
, fetchFromGitHub , fetchFromGitHub
, unstableGitUpdater
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation {
pname = "framework-laptop-kmod"; pname = "framework-laptop-kmod";
version = "0-unstable-2024-01-02"; version = "0-unstable-2024-09-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "DHowett"; owner = "DHowett";
repo = "framework-laptop-kmod"; repo = "framework-laptop-kmod";
rev = "a9e8db9ba2959b75c1fb820ffac8fa189f0f63c3"; rev = "6164bc3dec24b6bb2806eedd269df6a170bcc930";
hash = "sha256-Ai/OxvkaKPltri8R0oyfmxQLUVfaj6Q8vebrhmWYhUU="; hash = "sha256-OwtXQR0H4GNlYjVZ5UU5MEM6ZOjlV3B0x2auYawbS2U=";
}; };
nativeBuildInputs = kernel.moduleBuildDependencies; nativeBuildInputs = kernel.moduleBuildDependencies;
@ -28,11 +28,15 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; { meta = with lib; {
description = "Kernel module that exposes the Framework Laptop (13, 16)'s battery charge limit and LEDs to userspace"; description = "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"; homepage = "https://github.com/DHowett/framework-laptop-kmod";
license = licenses.gpl2Only; license = licenses.gpl2Only;
maintainers = with maintainers; [ gaykitty ]; maintainers = with maintainers; [ gaykitty ];
platforms = platforms.linux; platforms = platforms.linux;
broken = lib.versionOlder kernel.version "6.1";
}; };
} }