depot/third_party/nixpkgs/pkgs/applications/networking/juju/default.nix

30 lines
694 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "juju";
version = "2.9.35";
src = fetchFromGitHub {
owner = "juju";
repo = "juju";
rev = "juju-${version}";
sha256 = "sha256-tRuT4freMDtFjmZuBV9WD9jQFUat8QAias5d+AN7IVo=";
};
vendorSha256 = "sha256-2MevXSjjwXDjmiMhiZyv45a3OgDrliVcvHbXGRIOu1s=";
# Disable tests because it attempts to use a mongodb instance
doCheck = false;
subPackages = [
"cmd/juju"
];
meta = with lib; {
description = "Open source modelling tool for operating software in the cloud";
homepage = "https://juju.is";
license = licenses.mit;
maintainers = with maintainers; [ citadelcore ];
};
}