nixpkgs-fmt: init at 0.2.0

This commit is contained in:
zimbatm 2019-08-23 16:12:50 +02:00
parent 7d1bd575e8
commit 79c2ed6b60
No known key found for this signature in database
GPG Key ID: 71BAF6D40C1D63D7
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "nixpkgs-fmt";
version = "0.2.0";
src = fetchFromGitHub {
owner = "nix-community";
repo = pname;
rev = "v${version}";
sha256 = "0sa0263pkpi423f1rdyg90axw9sdmgj8ma1mza0v46qzkwynwgh3";
};
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 ];
};
}

View File

@ -24070,6 +24070,8 @@ in
nix-serve = callPackage ../tools/package-management/nix-serve { };
nixpkgs-fmt = callPackage ../tools/nix/nixpkgs-fmt { };
nixos-artwork = callPackage ../data/misc/nixos-artwork { };
nixos-icons = callPackage ../data/misc/nixos-artwork/icons.nix { };
nixos-grub2-theme = callPackage ../data/misc/nixos-artwork/grub2-theme.nix { };