pachyderm: 1.8.5 -> 2.4.0

This commit is contained in:
Aaron Jheng 2022-11-24 11:24:37 +00:00
parent 381c3a564e
commit eaea7d9eab
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

View File

@ -1,25 +1,31 @@
{ lib, fetchFromGitHub, buildGoPackage }:
{ lib, fetchFromGitHub, buildGoModule }:
buildGoPackage rec {
buildGoModule rec {
pname = "pachyderm";
version = "1.8.5";
rev = "v${version}";
goPackagePath = "github.com/pachyderm/pachyderm";
subPackages = [ "src/server/cmd/pachctl" ];
version = "2.4.0";
src = fetchFromGitHub {
inherit rev;
owner = "pachyderm";
repo = "pachyderm";
sha256 = "1b9x2xn0sxsjid15lnwr79lps8xzf24i7jfl0i48nabdigmi04wp";
rev = "v${version}";
hash = "sha256-8JAn7/ge1bCkHsZC1tG46N1eag0Itvlj5TW+8oSWXd8=";
};
vendorHash = "sha256-j7zg0vIhdYbzyi4owdVEF4XyUNwGds6J01+3k5K90Yg=";
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://github.com/pachyderm/pachyderm";
license = licenses.asl20;
maintainers = with maintainers; [offline];
homepage = "https://www.pachyderm.com/";
license = licenses.unfree;
maintainers = with maintainers; [ offline ];
mainProgram = "pachctl";
};
}