depot/pkgs/development/tools/djhtml/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
688 B
Nix

{ lib
, buildPythonApplication
, fetchFromGitHub
, setuptools
}:
buildPythonApplication rec {
pname = "djhtml";
version = "3.0.7";
pyproject = true;
src = fetchFromGitHub {
owner = "rtts";
repo = "djhtml";
rev = "refs/tags/${version}";
hash = "sha256-W93J3UFUrCqT718zoGcu96ORYFt0NLyYP7iVWbr8FYo=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "djhtml" ];
meta = with lib; {
homepage = "https://github.com/rtts/djhtml";
description = "Django/Jinja template indenter";
changelog = "https://github.com/rtts/djhtml/releases/tag/${version}";
license = licenses.gpl3Plus;
maintainers = [ ];
mainProgram = "djhtml";
};
}