nixpkgs/pkgs/by-name/pq/pql/package.nix
2024-02-28 23:06:48 +01:00

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