mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
artisan: 3.1.2 -> 3.1.4 to fix build (#403636)
This commit is contained in:
commit
671f3c6a35
1 changed files with 7 additions and 2 deletions
|
@ -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/";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue