Skip to content

Commit

Permalink
rustfmt: 0.8 -> 0.8.1
Browse files Browse the repository at this point in the history
Update the `rustfmt` package from version 0.8 to version 0.8.1.

I have tested this change per nixpkgs manual section 11.1 ("Making
patches").
  • Loading branch information
8573 committed Mar 29, 2017
1 parent b083a37 commit eb6a1f1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pkgs/development/tools/rust/rustfmt/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{ stdenv, fetchFromGitHub, rustPlatform }:

with rustPlatform;

buildRustPackage rec {
rustPlatform.buildRustPackage rec {
name = "rustfmt-${version}";
version = "0.8";
version = "0.8.1";

src = fetchFromGitHub {
owner = "rust-lang-nursery";
repo = "rustfmt";
rev = version;
sha256 = "0a613x1ckwl30yamba9m7xi3xrn8pg92p2w3v7k723whyivmjk1s";
rev = "v${version}";
sha256 = "05rjx7i4wn3z3j8bgqsn146a9vbni6xhxaim9nq13c6dm4nrx96b";
};

depsSha256 = "1vach2xf0cs7nivbakhmrm2aqdif3i5vg1syffrs2ghcix9hd21p";
depsSha256 = "1rnk33g85r1hkw9l9c52dzr4zka5kghbci9qwni3ph19rfqf0a73";

meta = with stdenv.lib; {
description = "A tool for formatting Rust code according to style guidelines";
Expand Down

0 comments on commit eb6a1f1

Please sign in to comment.