artisan: 3.1.2 -> 3.1.4 to fix build (#403636)

This commit is contained in:
Wolfgang Walther 2025-05-03 12:31:48 +00:00 committed by GitHub
commit 671f3c6a35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,14 +2,15 @@
lib,
appimageTools,
fetchurl,
nix-update-script,
}:
let
pname = "artisan";
version = "3.1.2";
version = "3.1.4";
src = fetchurl {
url = "https://github.com/artisan-roaster-scope/artisan/releases/download/v${version}/${pname}-linux-${version}.AppImage";
hash = "sha256-HwzTxuE7aRuXrI7BbySFgYGu74uw3JyBs91iPNGT2Jg=";
hash = "sha256-GU9DCAIMioPRUC1IDu8SbhD802pWEH7MlALnQH+Y4oU=";
};
appimageContents = appimageTools.extract {
@ -24,6 +25,10 @@ appimageTools.wrapType2 {
install -m 444 -D ${appimageContents}/artisan.png $out/share/applications/artisan.png
'';
passthru.updateScript = nix-update-script {
extraArgs = [ "--version-regex=v([\\d.]+)" ];
};
meta = {
description = "visual scope for coffee roasters";
homepage = "https://artisan-scope.org/";