Add dsq package (#7077)

This commit is contained in:
Ed Reel
2022-05-22 17:54:19 -05:00
committed by GitHub
parent cb7eb4993b
commit 369e9c8207
2 changed files with 31 additions and 0 deletions

26
packages/dsq.rb Normal file
View File

@@ -0,0 +1,26 @@
require 'package'
class Dsq < Package
description 'Commandline tool for running SQL queries against JSON, CSV, Excel, Parquet, and more.'
homepage 'https://github.com/multiprocessio/dsq'
version '0.18.0'
license 'Apache License, Version 2.0'
compatibility 'x86_64'
source_url 'https://github.com/multiprocessio/dsq/archive/0.18.0.tar.gz'
source_sha256 'b61a811646cbd383e5f98bb8d2fc16c41bdb229575d90e84daa645512ef042bb'
binary_url ({
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dsq/0.18.0_x86_64/dsq-0.18.0-chromeos-x86_64.tar.zst'
})
binary_sha256 ({
x86_64: '8278c63305a72ecf2c5eb1343f15ed4e515cd12e79023352fc2c57a88370f763'
})
depends_on 'go' => :build
def self.install
system "go get github.com/multiprocessio/dsq"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
system "go build -o #{CREW_DEST_PREFIX}/bin/dsq"
end
end

View File

@@ -1249,6 +1249,11 @@ url: https://github.com/andreafabrizi/Dropbox-Uploader/releases
activity: none
---
kind: url
name: dsq
url: https://github.com/multiprocessio/dsq/releases
activity: high
---
kind: url
name: dstat
url: https://github.com/dagwieers/dstat/releases
activity: none