diff options
author | Robin Gloster <robin@loc-com.de> | 2015-09-05 16:48:36 +0000 |
---|---|---|
committer | Robin Gloster <robin@loc-com.de> | 2015-09-07 12:07:00 +0000 |
commit | 7a90c8daa8e224f28e7b680f2a1ec45edc582707 (patch) | |
tree | 5d71a0ed86a07042dccb427af283e0a32edb65dc /pkgs/development/tools/rust | |
parent | b8c480f7c7a29eed53d464ad7aa53ff67ca3819c (diff) | |
download | nixlib-7a90c8daa8e224f28e7b680f2a1ec45edc582707.tar nixlib-7a90c8daa8e224f28e7b680f2a1ec45edc582707.tar.gz nixlib-7a90c8daa8e224f28e7b680f2a1ec45edc582707.tar.bz2 nixlib-7a90c8daa8e224f28e7b680f2a1ec45edc582707.tar.lz nixlib-7a90c8daa8e224f28e7b680f2a1ec45edc582707.tar.xz nixlib-7a90c8daa8e224f28e7b680f2a1ec45edc582707.tar.zst nixlib-7a90c8daa8e224f28e7b680f2a1ec45edc582707.zip |
rustfmt: init at git-2015-09-05
Diffstat (limited to 'pkgs/development/tools/rust')
-rw-r--r-- | pkgs/development/tools/rust/rustfmt/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/rustfmt/default.nix b/pkgs/development/tools/rust/rustfmt/default.nix new file mode 100644 index 000000000000..1e735611782a --- /dev/null +++ b/pkgs/development/tools/rust/rustfmt/default.nix @@ -0,0 +1,21 @@ +{stdenv, fetchgit, rustUnstable, makeWrapper }: + +with rustUnstable; + +buildRustPackage rec { + name = "rustfmt-git-2015-09-05"; + src = fetchgit { + url = https://github.com/nrc/rustfmt; + rev = "6c5d3500bb805b37865fe961a7054f8435d176fc"; + sha256 = "0y506viir1klzvspi49qawrfd2g12p9ff2fyy1ndba6zixf69a90"; + }; + + depsSha256 = "1kfc9l176qkimaag9p650sfpaz50p263rw2021gq5kjw8cyndlx8"; + + meta = with stdenv.lib; { + description = "A tool for formatting Rust code according to style guidelines"; + homepage = https://github.com/nrc/rustfmt; + license = with licenses; [ mit asl20 ]; + maintainers = [ maintainers.globin ]; + }; +} |