blob: 51e4e22bc5b606e1f9a145f65d8a951db16a8353 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "nixpkgs-fmt";
version = "0.3.1";
src = fetchFromGitHub {
owner = "nix-community";
repo = pname;
rev = "v${version}";
sha256 = "0nz4njmrwacizz9z89ligxr2gyggk65vq9cmd6s4hn133gajf2n1";
};
cargoSha256 = "0p3qa1asdvw2npav4281lzndjczrzac6fr8z4y61m7rbn363s8sa";
meta = with lib; {
description = "Nix code formatter for nixpkgs";
homepage = "https://nix-community.github.io/nixpkgs-fmt";
license = licenses.asl20;
maintainers = with maintainers; [ zimbatm ];
};
}
|