artisan: init at 3.1.0 (#393753)
This commit is contained in:
@@ -3379,6 +3379,11 @@
|
||||
githubId = 33910565;
|
||||
name = "Abdallah Gamal";
|
||||
};
|
||||
bohreromir = {
|
||||
github = "bohreromir";
|
||||
githubId = 40412303;
|
||||
name = "bohreromir";
|
||||
};
|
||||
boj = {
|
||||
email = "brian@uncannyworks.com";
|
||||
github = "boj";
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
appimageTools,
|
||||
fetchurl,
|
||||
}:
|
||||
let
|
||||
pname = "artisan";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/artisan-roaster-scope/artisan/releases/download/v${version}/${pname}-linux-${version}.AppImage";
|
||||
hash = "sha256-PkrqX2CflSCR1e+4Y4K12iuCrYqDMecD1vf8GKz1StQ=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extract {
|
||||
inherit pname version src;
|
||||
};
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
|
||||
extraInstallCommands = ''
|
||||
install -m 444 -D ${appimageContents}/org.artisan_scope.artisan.desktop $out/share/applications/org.artisan_scope.artisan.desktop
|
||||
install -m 444 -D ${appimageContents}/artisan.png $out/share/applications/artisan.png
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "visual scope for coffee roasters";
|
||||
homepage = "https://artisan-scope.org/";
|
||||
changelog = "https://github.com/artisan-roaster-scope/artisan/releases/tag/v${version}";
|
||||
downloadPage = "https://github.com/artisan-roaster-scope/artisan/releases";
|
||||
license = lib.licenses.gpl3Only;
|
||||
mainProgram = "artisan";
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
maintainers = with lib.maintainers; [ bohreromir ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user