Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, rustPlatform, fetchCrate }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "cargo-mommy"; 5 version = "0.1.1"; 6 7 src = fetchCrate { 8 inherit pname version; 9 sha256 = "sha256-p1SAYUQu1HpYJ6TbLJ3lfA9VlKHvB7z5yiFXmTQOCXA="; 10 }; 11 12 cargoSha256 = "sha256-5RidY+6EF23UNzz1suSdA4LL59FalipaJ+ISSsmiCXM="; 13 14 meta = with lib; { 15 description = "Cargo wrapper that encourages you after running commands"; 16 homepage = "https://github.com/Gankra/cargo-mommy"; 17 license = with licenses; [ mit asl20 ]; 18 maintainers = with maintainers; [ GoldsteinE ]; 19 }; 20}