Unverified Commit d5ec0e35 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

djhtml: Migrate to by-name (#425186)

parents abc5613c 2eedfc33
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
{
  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";
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -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 { };