2022-11-24 11:24:37 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2016-12-11 19:40:28 +00:00
|
|
|
|
2022-11-24 11:24:37 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "pachyderm";
|
2023-02-05 19:52:44 +00:00
|
|
|
version = "2.4.5";
|
2016-12-11 19:40:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pachyderm";
|
|
|
|
repo = "pachyderm";
|
2022-11-24 11:24:37 +00:00
|
|
|
rev = "v${version}";
|
2023-02-05 19:52:44 +00:00
|
|
|
hash = "sha256-DqBBetOyE8QALMEiYqA0rZEpPhBtde0STxiGrFqqFpY=";
|
2016-12-11 19:40:28 +00:00
|
|
|
};
|
|
|
|
|
2023-01-22 05:16:04 +00:00
|
|
|
vendorHash = "sha256-k6ODl+whgeeyd8XaOjTDjxfShpOztirjq/Tg98YP8Hs=";
|
2022-11-24 11:24:37 +00:00
|
|
|
|
|
|
|
subPackages = [ "src/server/cmd/pachctl" ];
|
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X github.com/pachyderm/pachyderm/v${lib.versions.major version}/src/version.AppVersion=${version}"
|
|
|
|
];
|
|
|
|
|
2016-12-11 19:40:28 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Containerized Data Analytics";
|
2022-11-24 11:24:37 +00:00
|
|
|
homepage = "https://www.pachyderm.com/";
|
|
|
|
license = licenses.unfree;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "pachctl";
|
2016-12-11 19:40:28 +00:00
|
|
|
};
|
|
|
|
}
|