about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2024-03-04 09:56:45 +0100
committerGitHub <noreply@github.com>2024-03-04 09:56:45 +0100
commit2ac73bdfc25fca63758fd4a36b5f47f76c12532a (patch)
tree5289bdfee7a1f416389e4a89865c26c44d46f0c0
parent308bb1462b42349817782e2b11b1d32886c05173 (diff)
parentf4e2e47baaa555f7bdf3aef359baad49935c1c0f (diff)
downloadnixlib-2ac73bdfc25fca63758fd4a36b5f47f76c12532a.tar
nixlib-2ac73bdfc25fca63758fd4a36b5f47f76c12532a.tar.gz
nixlib-2ac73bdfc25fca63758fd4a36b5f47f76c12532a.tar.bz2
nixlib-2ac73bdfc25fca63758fd4a36b5f47f76c12532a.tar.lz
nixlib-2ac73bdfc25fca63758fd4a36b5f47f76c12532a.tar.xz
nixlib-2ac73bdfc25fca63758fd4a36b5f47f76c12532a.tar.zst
nixlib-2ac73bdfc25fca63758fd4a36b5f47f76c12532a.zip
Merge pull request #292163 from dit7ya/pql
pql: init at 0.1.0
-rw-r--r--pkgs/by-name/pq/pql/package.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/by-name/pq/pql/package.nix b/pkgs/by-name/pq/pql/package.nix
new file mode 100644
index 000000000000..9697d80ad25f
--- /dev/null
+++ b/pkgs/by-name/pq/pql/package.nix
@@ -0,0 +1,28 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule rec {
+  pname = "pql";
+  version = "0.1.0";
+
+  src = fetchFromGitHub {
+    owner = "runreveal";
+    repo = "pql";
+    rev = "v${version}";
+    hash = "sha256-xNWwjDdnF4+IvS814iJlqCFYNOGNF2nHEnnbRqxJsjM=";
+  };
+
+  vendorHash = "sha256-j/R+1PWfX+lmm99cHWSuo+v8RxKg089Bvb4rFHpmpfE=";
+
+  ldflags = [ "-s" "-w" ];
+
+  meta = with lib; {
+    description = "Pipelined Query Language";
+    homepage = "https://github.com/runreveal/pql";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ dit7ya ];
+    mainProgram = "pql";
+  };
+}