Unverified Commit 8a307766 authored by Norbert Melzer's avatar Norbert Melzer Committed by GitHub
Browse files

Merge pull request #229867 from flemzord/master

parents 645b5c41 5fea47d6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5253,6 +5253,12 @@
    githubId = 2489598;
    name = "Felix Breidenstein";
  };
  flemzord = {
    email = "maxence@maireaux.fr";
    github = "flemzord";
    githubId = 1952914;
    name = "Maxence Maireaux";
  };
  flexagoon = {
    email = "flexagoon@pm.me";
    github = "flexagoon";
+44 −0
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitHub
, darwin
, stdenv
, openssl
, pkg-config
}:

rustPlatform.buildRustPackage rec {
  pname = "moon";
  version = "v1.5.1";

  src = fetchFromGitHub {
    owner = "moonrepo";
    repo = pname;
    rev = version;
    hash = "sha256-TA27e0W0XSOC326lnO/mSlJNLGn6roJhd1CrQadWb/U=";
  };

  cargoHash = "sha256-Q044nxI6VGGal9I31VuZeGLho4KIz/Rzg4Lrn1prj4Y=";

  env = {
    RUSTFLAGS = "-C strip=symbols";
    OPENSSL_NO_VENDOR = 1;
  };

  buildInputs = [ openssl ] ++
    lib.optionals stdenv.isDarwin [
      darwin.apple_sdk.frameworks.Security
      darwin.apple_sdk.frameworks.SystemConfiguration
  ];
  nativeBuildInputs = [ pkg-config ];

  # Some tests fail, because test using internet connection and install NodeJS by example
  doCheck = false;

  meta = with lib; {
    description = "A task runner and repo management tool for the web ecosystem, written in Rust";
    homepage = "https://github.com/moonrepo/moon";
    license = licenses.mit;
    maintainers = with maintainers; [ flemzord ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -18884,6 +18884,8 @@ with pkgs;
      else llvmPackages.stdenv;
  };
  moon = callPackage ../development/tools/build-managers/moon/default.nix { };
  msgpack-tools = callPackage ../development/tools/msgpack-tools { };
  msgpuck = callPackage ../development/libraries/msgpuck { };