31 lines
772 B
Nix
31 lines
772 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pachyderm";
|
|
version = "2.11.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pachyderm";
|
|
repo = "pachyderm";
|
|
rev = "v${version}";
|
|
hash = "sha256-8bNPUqJrhcTslclhCwNE9SIfTdBXoF14/GI5x+d3s64=";
|
|
};
|
|
|
|
vendorHash = "sha256-d2MSMucGMGGPLE0wh8Y27AUVPkeyOCkCa0JSPawYQmc=";
|
|
|
|
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.asl20;
|
|
maintainers = with maintainers; [ offline ];
|
|
mainProgram = "pachctl";
|
|
};
|
|
}
|