depot/third_party/nixpkgs/pkgs/development/tools/build-managers/turtle-build/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

26 lines
681 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "turtle-build";
version = "0.4.7";
src = fetchFromGitHub {
owner = "raviqqe";
repo = "turtle-build";
rev = "v${version}";
hash = "sha256-pyCswNJ4LuXViewQl+2o5g06uVjXVphxh2wXO9m5Mec=";
};
cargoHash = "sha256-ObPzzYh8Siu01DH/3pXk322H7NaD7sHYTYBUk0WvZUs=";
meta = with lib; {
description = "Ninja-compatible build system for high-level programming languages written in Rust";
homepage = "https://github.com/raviqqe/turtle-build";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ figsoda ];
mainProgram = "turtle";
};
}