djhtml: Migrate to by-name (#425186)

This commit is contained in:
Weijia Wang
2025-07-15 00:53:03 +02:00
committed by GitHub
2 changed files with 6 additions and 9 deletions
@@ -1,10 +1,9 @@
{
lib,
buildPythonApplication,
python3Packages,
fetchFromGitHub,
setuptools,
}:
buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "djhtml";
version = "3.0.8";
pyproject = true;
@@ -16,16 +15,16 @@ buildPythonApplication rec {
hash = "sha256-1bopV6mjwjXdoIN9i3An4NvSpeGcVlQ24nLLjP/UfQU=";
};
build-system = [ setuptools ];
build-system = [ python3Packages.setuptools ];
pythonImportsCheck = [ "djhtml" ];
meta = with lib; {
meta = {
homepage = "https://github.com/rtts/djhtml";
description = "Django/Jinja template indenter";
changelog = "https://github.com/rtts/djhtml/releases/tag/${src.tag}";
license = licenses.gpl3Plus;
maintainers = [ ];
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ ];
mainProgram = "djhtml";
};
}
-2
View File
@@ -395,8 +395,6 @@ with pkgs;
}
);
djhtml = python3Packages.callPackage ../development/tools/djhtml { };
dnf-plugins-core = with python3Packages; toPythonApplication dnf-plugins-core;
dnf4 = python3Packages.callPackage ../development/python-modules/dnf4/wrapper.nix { };