11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
16 owner = "sagiegurari";
19 hash = "sha256-YyZF45Oi8sqTC/YM8F2dNBUI1rB0mPNeWMT7dYFWB5Q=";
22 cargoHash = "sha256-tidV2mZgrJCokeUVKYQKlYENm7v362sGsi2Eb0vLNJ8=";
24 nativeBuildInputs = [ pkg-config ];
29 ] ++ lib.optionals stdenv.isDarwin [
30 darwin.apple_sdk.frameworks.SystemConfiguration
33 # Some tests fail because they need network access.
34 # However, Travis ensures a proper build.
36 # https://travis-ci.org/sagiegurari/cargo-make
40 description = "Rust task runner and build tool";
41 homepage = "https://github.com/sagiegurari/cargo-make";
42 changelog = "https://github.com/sagiegurari/cargo-make/blob/${version}/CHANGELOG.md";
43 license = licenses.asl20;
44 maintainers = with maintainers; [ figsoda xrelkd ];
45 mainProgram = "cargo-make";