nixpkgs/pkgs/by-name/lu/ludtwig/package.nix
2024-11-08 15:42:52 +01:00

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";
};
}