forked from mirrors/nixpkgs
rustfmt: init at git-2015-09-05
This commit is contained in:
parent
b8c480f7c7
commit
7a90c8daa8
|
@ -1,3 +1,5 @@
|
|||
# Please make sure to check if rustfmt still builds when updating nightly
|
||||
|
||||
{ stdenv, callPackage }:
|
||||
callPackage ./generic.nix {
|
||||
shortVersion = "2015-09-05";
|
||||
|
|
21
pkgs/development/tools/rust/rustfmt/default.nix
Normal file
21
pkgs/development/tools/rust/rustfmt/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -4799,6 +4799,8 @@ let
|
|||
buildRustPackage = callPackage ../build-support/rust { };
|
||||
};
|
||||
|
||||
rustfmt = callPackage ../development/tools/rust/rustfmt { };
|
||||
|
||||
sbclBootstrap = callPackage ../development/compilers/sbcl/bootstrap.nix {};
|
||||
sbcl = callPackage ../development/compilers/sbcl {
|
||||
clisp = clisp;
|
||||
|
|
Loading…
Reference in a new issue