mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
31 lines
717 B
Nix
31 lines
717 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
}:
|
|
python3Packages.buildPythonApplication (finalAttrs: {
|
|
pname = "djhtml";
|
|
version = "3.0.11";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rtts";
|
|
repo = "djhtml";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-l3qxPwnEyJ0sZWquaol0bOX7QvImLc8IRTfyE2yqXCo=";
|
|
};
|
|
|
|
build-system = [ python3Packages.setuptools ];
|
|
|
|
pythonImportsCheck = [ "djhtml" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/rtts/djhtml";
|
|
description = "Django/Jinja template indenter";
|
|
changelog = "https://github.com/rtts/djhtml/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = [ ];
|
|
mainProgram = "djhtml";
|
|
};
|
|
})
|