at v206 22 lines 654 B view raw
1{ stdenv, fetchFromGitHub, rustUnstable, makeWrapper }: 2 3with rustUnstable; 4 5buildRustPackage rec { 6 name = "rustfmt-git-2015-10-17"; 7 src = fetchFromGitHub { 8 owner = "nrc"; 9 repo = "rustfmt"; 10 rev = "36c9a3acf95a036f3f9fa72ff3fe175fba55e20b"; 11 sha256 = "1vjnfq3al73qljalr2rvymabcksx6y690gg5r9kgz1lnizlb7yrz"; 12 }; 13 14 depsSha256 = "0vzpq58vfswdwdm2bk44ynk43cmwdxppcbkvpjyfa6sjs2s5x8n9"; 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}