lol
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "turtle-build";
9 version = "0.4.9";
10
11 src = fetchFromGitHub {
12 owner = "raviqqe";
13 repo = "turtle-build";
14 rev = "v${version}";
15 hash = "sha256-sbYDp4r/M6GvCYEshccJ331mVNeN85wwf9TKHiYFv7I=";
16 };
17
18 cargoHash = "sha256-JZU0Xam4NPiOHdXDtJsTBjOQnaDWReSZMD33sQxeUzQ=";
19
20 meta = with lib; {
21 description = "Ninja-compatible build system for high-level programming languages written in Rust";
22 homepage = "https://github.com/raviqqe/turtle-build";
23 license = with licenses; [
24 asl20
25 mit
26 ];
27 maintainers = with maintainers; [ figsoda ];
28 mainProgram = "turtle";
29 };
30}