mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
22 lines
590 B
Nix
22 lines
590 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "nixpkgs-fmt";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nix-community";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0b9wwv77bpq24yxky44ndgvxsx2zgsl15lvl6wklbkr41mwz3xis";
|
|
};
|
|
|
|
cargoSha256 = "1vv2gypbmgd9lksrk5h2z3agcs1269p1i3im9529nhcsl62ckj7n";
|
|
|
|
meta = with lib; {
|
|
description = "Nix code formatter for nixpkgs";
|
|
homepage = "https://nix-community.github.io/nixpkgs-fmt";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
};
|
|
}
|