klipper: use unstableGitUpdater

This commit is contained in:
Bernardo Meurer
2021-01-31 18:54:39 -08:00
parent 5b896d3797
commit c47e34e88a
+3
View File
@@ -2,6 +2,7 @@
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, python2 , python2
, unstableGitUpdater
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "klipper"; name = "klipper";
@@ -39,6 +40,8 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
passthru.updateScript = unstableGitUpdater { url = meta.homepage; };
meta = with lib; { meta = with lib; {
description = "The Klipper 3D printer firmware"; description = "The Klipper 3D printer firmware";
homepage = "https://github.com/KevinOConnor/klipper"; homepage = "https://github.com/KevinOConnor/klipper";