mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
26 lines
675 B
Nix
26 lines
675 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "ludtwig";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MalteJanz";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-J5UTVXUExVApA8VVTyhkO2JhpVCK45li9VBN+oM9TBI=";
|
|
};
|
|
|
|
checkType = "debug";
|
|
|
|
cargoHash = "sha256-czofgV5a9aQoLn4JaBUbytY/aHfgJv3Q8RU2j+fbXo8=";
|
|
|
|
meta = with lib; {
|
|
description = "Linter / Formatter for Twig template files which respects HTML and your time";
|
|
homepage = "https://github.com/MalteJanz/ludtwig";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ shyim maltejanz ];
|
|
mainProgram = "ludtwig";
|
|
};
|
|
}
|