mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 21:33:49 +00:00
cf2074d365
Diff: https://github.com/orogene/orogene/compare/v0.3.32...v0.3.33 Changelog: https://github.com/orogene/orogene/blob/v0.3.33/CHANGELOG.md
48 lines
1015 B
Nix
48 lines
1015 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, openssl
|
|
, stdenv
|
|
, darwin
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "orogene";
|
|
version = "0.3.33";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "orogene";
|
|
repo = "orogene";
|
|
rev = "v${version}";
|
|
hash = "sha256-HG+/m/ZomlGu/ATHqZjhjo/pjncVBZLOP6UlcCOyLKc=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
cargoHash = "sha256-iygP+x1uEHUpUGaxQjt50sFd5ZWpFxOqPvnkGqIvh6A=";
|
|
|
|
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";
|
|
};
|
|
}
|