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-08-13 22:59:18 +00:00
|
|
|
version = "2.7.0";
|
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-08-13 22:59:18 +00:00
|
|
|
hash = "sha256-OA6NY8hI/Aw6vdtDfN1cRXdsLLfxW5ECg5tobPZB66Y=";
|
2016-12-11 19:40:28 +00:00
|
|
|
};
|
|
|
|
|
2023-08-13 22:59:18 +00:00
|
|
|
vendorHash = "sha256-q8Cx+J5BjMvO5wuvH5Tc5Oa9rjW7vXvS4DhSVv/E3E4=";
|
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
|
|
|
};
|
|
|
|
}
|