Merge pull request #24455 from 8573/8573/pkg/update/rustfmt/0.8.1/1

rustfmt: 0.8 -> 0.8.1
This commit is contained in:
Jörg Thalheim 2017-03-30 10:33:16 +02:00 committed by GitHub
commit 79f70e6d88
2 changed files with 8 additions and 10 deletions

View file

@ -1,19 +1,17 @@
{ stdenv, fetchFromGitHub, rustPlatform }: { stdenv, fetchFromGitHub, rustPlatform }:
with rustPlatform; rustPlatform.buildRustPackage rec {
buildRustPackage rec {
name = "rustfmt-${version}"; name = "rustfmt-${version}";
version = "0.8"; version = "0.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rust-lang-nursery"; owner = "rust-lang-nursery";
repo = "rustfmt"; repo = "rustfmt";
rev = version; rev = "v${version}";
sha256 = "0a613x1ckwl30yamba9m7xi3xrn8pg92p2w3v7k723whyivmjk1s"; sha256 = "05rjx7i4wn3z3j8bgqsn146a9vbni6xhxaim9nq13c6dm4nrx96b";
}; };
depsSha256 = "1vach2xf0cs7nivbakhmrm2aqdif3i5vg1syffrs2ghcix9hd21p"; depsSha256 = "1rnk33g85r1hkw9l9c52dzr4zka5kghbci9qwni3ph19rfqf0a73";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A tool for formatting Rust code according to style guidelines"; description = "A tool for formatting Rust code according to style guidelines";

View file

@ -7,9 +7,9 @@
{ runCommand, fetchFromGitHub, git }: { runCommand, fetchFromGitHub, git }:
let let
version = "2017-03-22"; version = "2017-03-29";
rev = "2458be6157706b6c92e37baa19703c15d89f6b3a"; rev = "d9dbb2fc117bf730d1f54b090b3af407e8e5ff20";
sha256 = "19ij0fqy5j4lz73w4p29wv4gsxhs345ajxm4bxpq6gx2h4x6qk06"; sha256 = "1vrzr4v8qp5jy3xmqrcyk9naik3rngk8hzxif42y687ncppzrsdl";
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev; inherit rev;