Commit d0c183ac authored by figsoda's avatar figsoda
Browse files

orogene: init at 0.3.25

parent 9daee206
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, stdenv
, darwin
}:

rustPlatform.buildRustPackage rec {
  pname = "orogene";
  version = "0.3.25";

  src = fetchFromGitHub {
    owner = "orogene";
    repo = "orogene";
    rev = "v${version}";
    hash = "sha256-QQhlkTg14nPYQvKYoZf07PjknTZZRUTzBzNFJeovny8=";
    fetchSubmodules = true;
  };

  cargoHash = "sha256-uxW196f/PEVxGHmZ7hUyvaIz1OD1XmyVEuwk8Hdvsvs=";

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    openssl
  ] ++ lib.optionals stdenv.isDarwin [
    darwin.apple_sdk.frameworks.Security
  ];

  preCheck = ''
    export CI=true
    export HOME=$(mktemp -d)
  '';

  meta = with lib; {
    description = "A package manager for tools that use node_modules";
    homepage = "https://github.com/orogene/orogene";
    changelog = "https://github.com/orogene/orogene/blob/${src.rev}/CHANGELOG.md";
    license = with licenses; [ asl20 isc ];
    maintainers = with maintainers; [ figsoda ];
    mainProgram = "oro";
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -23222,6 +23222,8 @@ with pkgs;
  orcania = callPackage ../development/libraries/orcania { };
  orogene = callPackage ../development/tools/misc/orogene { };
  osm-gps-map = callPackage ../development/libraries/osm-gps-map { };
  osmid = callPackage ../applications/audio/osmid { };