nixpkgs/pkgs/applications/networking/cluster/pachyderm/default.nix
2022-12-04 14:46:31 +00:00

32 lines
772 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "pachyderm";
version = "2.4.1";
src = fetchFromGitHub {
owner = "pachyderm";
repo = "pachyderm";
rev = "v${version}";
hash = "sha256-hU1Li3ZTgCbvyfBQ7TcmmeXOfcb1DHeo/K7iT7vc+vE=";
};
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://www.pachyderm.com/";
license = licenses.unfree;
maintainers = with maintainers; [ offline ];
mainProgram = "pachctl";
};
}