mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
32 lines
772 B
Nix
32 lines
772 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pachyderm";
|
|
version = "2.4.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pachyderm";
|
|
repo = "pachyderm";
|
|
rev = "v${version}";
|
|
hash = "sha256-DqBBetOyE8QALMEiYqA0rZEpPhBtde0STxiGrFqqFpY=";
|
|
};
|
|
|
|
vendorHash = "sha256-k6ODl+whgeeyd8XaOjTDjxfShpOztirjq/Tg98YP8Hs=";
|
|
|
|
subPackages = [ "src/server/cmd/pachctl" ];
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/pachyderm/pachyderm/v${lib.versions.major version}/src/version.AppVersion=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Containerized Data Analytics";
|
|
homepage = "https://www.pachyderm.com/";
|
|
license = licenses.unfree;
|
|
maintainers = with maintainers; [ offline ];
|
|
mainProgram = "pachctl";
|
|
};
|
|
}
|