nixpkgs/pkgs/applications/networking/cluster/pachyderm/default.nix
2022-12-25 12:01:35 +01:00

32 lines
772 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "pachyderm";
version = "2.4.2";
src = fetchFromGitHub {
owner = "pachyderm";
repo = "pachyderm";
rev = "v${version}";
hash = "sha256-IzZBs6g6MQKofhMIdLr7ty7HzwF+SoyzCJ6RDMHt0mo=";
};
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";
};
}