2021-07-05 17:36:52 +02:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "juju";
|
2023-11-11 09:43:18 +01:00
|
|
|
version = "3.3.0";
|
2021-07-05 17:36:52 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "juju";
|
|
|
|
repo = "juju";
|
|
|
|
rev = "juju-${version}";
|
2023-11-11 09:43:18 +01:00
|
|
|
sha256 = "sha256-8VSSTeN4a1zvMi4L4dR3q+kWKgYq8Jg1jDvFjEBD7jI=";
|
2021-07-05 17:36:52 +02:00
|
|
|
};
|
|
|
|
|
2023-11-11 09:43:18 +01:00
|
|
|
vendorHash = "sha256-3hZywUpJe6g8IujbK0hcp12S6OKswLj/YYJGuPG06Es=";
|
2021-07-05 17:36:52 +02:00
|
|
|
|
|
|
|
# Disable tests because it attempts to use a mongodb instance
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-06-06 20:24:28 +02:00
|
|
|
subPackages = [
|
|
|
|
"cmd/juju"
|
|
|
|
];
|
|
|
|
|
2021-07-05 17:36:52 +02: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 ];
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "juju";
|
2021-07-05 17:36:52 +02:00
|
|
|
};
|
|
|
|
}
|