mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
nixpkgs-fmt: init at 0.2.0
This commit is contained in:
parent
7d1bd575e8
commit
79c2ed6b60
21
pkgs/tools/nix/nixpkgs-fmt/default.nix
Normal file
21
pkgs/tools/nix/nixpkgs-fmt/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -24070,6 +24070,8 @@ in
|
|||||||
|
|
||||||
nix-serve = callPackage ../tools/package-management/nix-serve { };
|
nix-serve = callPackage ../tools/package-management/nix-serve { };
|
||||||
|
|
||||||
|
nixpkgs-fmt = callPackage ../tools/nix/nixpkgs-fmt { };
|
||||||
|
|
||||||
nixos-artwork = callPackage ../data/misc/nixos-artwork { };
|
nixos-artwork = callPackage ../data/misc/nixos-artwork { };
|
||||||
nixos-icons = callPackage ../data/misc/nixos-artwork/icons.nix { };
|
nixos-icons = callPackage ../data/misc/nixos-artwork/icons.nix { };
|
||||||
nixos-grub2-theme = callPackage ../data/misc/nixos-artwork/grub2-theme.nix { };
|
nixos-grub2-theme = callPackage ../data/misc/nixos-artwork/grub2-theme.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user