at v192 21 lines 640 B view raw
1{stdenv, fetchgit, rustUnstable, makeWrapper }: 2 3with rustUnstable; 4 5buildRustPackage rec { 6 name = "rustfmt-git-2015-09-05"; 7 src = fetchgit { 8 url = https://github.com/nrc/rustfmt; 9 rev = "6c5d3500bb805b37865fe961a7054f8435d176fc"; 10 sha256 = "0y506viir1klzvspi49qawrfd2g12p9ff2fyy1ndba6zixf69a90"; 11 }; 12 13 depsSha256 = "1kfc9l176qkimaag9p650sfpaz50p263rw2021gq5kjw8cyndlx8"; 14 15 meta = with stdenv.lib; { 16 description = "A tool for formatting Rust code according to style guidelines"; 17 homepage = https://github.com/nrc/rustfmt; 18 license = with licenses; [ mit asl20 ]; 19 maintainers = [ maintainers.globin ]; 20 }; 21}