2021-07-14 22:03:04 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "juju";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "3.3.0";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "juju";
|
|
|
|
repo = "juju";
|
|
|
|
rev = "juju-${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-8VSSTeN4a1zvMi4L4dR3q+kWKgYq8Jg1jDvFjEBD7jI=";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
vendorHash = "sha256-3hZywUpJe6g8IujbK0hcp12S6OKswLj/YYJGuPG06Es=";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
# Disable tests because it attempts to use a mongodb instance
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-06-26 10:26:21 +00:00
|
|
|
subPackages = [
|
|
|
|
"cmd/juju"
|
|
|
|
];
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
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 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "juju";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
}
|