Skip to content

Commit

Permalink
+qrencode
Browse files Browse the repository at this point in the history
  • Loading branch information
Synesso committed Apr 25, 2024
1 parent 8744a80 commit f1bb194
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions qrencode.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
description = "a fast and compact library for encoding data in a QR Code symbol"
binaries = ["qrencode"]
test = "qrencode --version"

platform "darwin" {
source ="https://github.com/cashapp/hermit-build/releases/download/qrencode-${version}/qrencode-${version}-darwin-amd64.tar.xz"
}

platform "linux" {
source = "https://github.com/cashapp/hermit-build/releases/download/qrencode-${version}/qrencode-${version}-linux-amd64.tar.xz"
}

on "unpack" {
rename {
from = "${root}/qrencode-${version}"
to = "${root}/qrencode"
}
chmod {
file = "${root}/qrencode"
mode = 448
}
}

version "4.1.1" {}

sha256sums = {
"https://github.com/cashapp/hermit-build/releases/download/qrencode-4.1.1/qrencode-4.1.1-darwin-amd64.tar.xz": "6e7b26658e0386f3252b7a0374bd326f2775ed36194583c1783a4512cb38fb1b",
"https://github.com/cashapp/hermit-build/releases/download/qrencode-4.1.1/qrencode-4.1.1-linux-amd64.tar.xz": "5adfa27330afc424faed4af8ef3f95792eb7812f2ac801b3f784bd0725f91315",
}

0 comments on commit f1bb194

Please sign in to comment.