Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, rustPlatform, fetchCrate }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "cargo-hack"; 5 version = "0.5.28"; 6 7 src = fetchCrate { 8 inherit pname version; 9 sha256 = "sha256-434imb66AINKeW50ITc4RRYO9v7sH3fs1DEwSBc3mys="; 10 }; 11 12 cargoSha256 = "sha256-oDrpQskQV5hG9Ksp0TJcXjm/J9q/K831mOzxH+CXjfg="; 13 14 # some necessary files are absent in the crate version 15 doCheck = false; 16 17 meta = with lib; { 18 description = "Cargo subcommand to provide various options useful for testing and continuous integration"; 19 homepage = "https://github.com/taiki-e/cargo-hack"; 20 changelog = "https://github.com/taiki-e/cargo-hack/blob/v${version}/CHANGELOG.md"; 21 license = with licenses; [ asl20 /* or */ mit ]; 22 maintainers = with maintainers; [ figsoda ]; 23 }; 24}