mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
32 lines
772 B
Nix
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";
|
|
};
|
|
}
|