at release-16.03-start 22 lines 668 B view raw
1{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }: 2 3with rustPlatform; 4 5buildRustPackage rec { 6 name = "rustfmt-git-2016-02-15"; 7 src = fetchFromGitHub { 8 owner = "rust-lang-nursery"; 9 repo = "rustfmt"; 10 rev = "65bc5c242de86f0651b34fd913ca338a880696e8"; 11 sha256 = "02rdim0y5zg1r2zkfy6kj53idlbdybf3ckardbjsvdna5idc1hpz"; 12 }; 13 14 depsSha256 = "1297vy5sgiq4xqdm27pa8f99qiwrl15hb2r1dydzgk7n4iqyir6c"; 15 16 meta = with stdenv.lib; { 17 description = "A tool for formatting Rust code according to style guidelines"; 18 homepage = https://github.com/nrc/rustfmt; 19 license = with licenses; [ mit asl20 ]; 20 maintainers = [ maintainers.globin ]; 21 }; 22}