mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
kdlfmt: init at 0.0.3
This commit is contained in:
parent
095d47ad1c
commit
3d916bdece
28
pkgs/by-name/kd/kdlfmt/package.nix
Normal file
28
pkgs/by-name/kd/kdlfmt/package.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "kdlfmt";
|
||||
version = "0.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hougesen";
|
||||
repo = "kdlfmt";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-qD1NYLHGmVRgV6pPXbvJ9NWDg/wVLWJY4hUsOLDlKh0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-7HSDz/JI5VuTdM/Hv+nq+ddpQg31Q1v7Ct5gz2PfdmE=";
|
||||
|
||||
meta = {
|
||||
description = "Formatter for kdl documents";
|
||||
homepage = "https://github.com/hougesen/kdlfmt.git";
|
||||
changelog = "https://github.com/hougesen/kdlfmt/blob/v${version}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ airrnot ];
|
||||
mainProgram = "kdlfmt";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user