klipper: use unstableGitUpdater

This commit is contained in:
Bernardo Meurer 2021-01-31 18:54:39 -08:00
parent 5b896d3797
commit c47e34e88a
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246

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";