depot/third_party/nixpkgs/pkgs/by-name/pq/pql/package.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

28 lines
596 B
Nix

{ 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";
};
}