36 lines
879 B
Nix
36 lines
879 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
openssl,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "reindeer";
|
|
version = "2024.12.09.00";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "facebookincubator";
|
|
repo = "reindeer";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-G58W1biDHx/m73wC0gRQEcE4EhZMS6zGt8UHh0rQm7g=";
|
|
};
|
|
|
|
cargoHash = "sha256-lOvvkgJ4+jX0Modvwp9JiYM5XHbq4xY83oC3C98vmaA=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
description = "Reindeer is a tool which takes Rust Cargo dependencies and generates Buck build rules";
|
|
mainProgram = "reindeer";
|
|
homepage = "https://github.com/facebookincubator/reindeer";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ nickgerace ];
|
|
};
|
|
}
|