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