mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 00:14:43 +00:00
752cf0f485
Diff: https://github.com/orogene/orogene/compare/v0.3.26...v0.3.27 Changelog: https://github.com/orogene/orogene/blob/v0.3.27/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.27";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "orogene";
|
|
repo = "orogene";
|
|
rev = "v${version}";
|
|
hash = "sha256-y58S8oou1GBR1Cx77IzLvLmZ/MN88P9k1RGCFOVbHHc=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
cargoHash = "sha256-hZQxzhq61h83geLazhEkoaB1oRz/xSXuwW7BuBWxfHs=";
|
|
|
|
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";
|
|
};
|
|
}
|