2021-07-05 16:36:52 +01:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "juju";
|
2021-08-22 05:07:10 +01:00
|
|
|
version = "2.9.11";
|
2021-07-05 16:36:52 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "juju";
|
|
|
|
repo = "juju";
|
|
|
|
rev = "juju-${version}";
|
2021-08-22 05:07:10 +01:00
|
|
|
sha256 = "sha256-KcvlnEfDzwhFzwaWLYuRGa8nh6MkjqZ+u+qJSJZl13U=";
|
2021-07-05 16:36:52 +01:00
|
|
|
};
|
|
|
|
|
2021-08-22 05:07:10 +01:00
|
|
|
vendorSha256 = "sha256-0KGeMJDv1BdqM1/uMk+mKpK+Nejz9PiCAfRy96pu3OQ=";
|
2021-07-05 16:36:52 +01:00
|
|
|
|
|
|
|
# Disable tests because it attempts to use a mongodb instance
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|