djhtml: Migrate to by-name
This commit is contained in:
parent
519293c96c
commit
2eedfc337d
@ -1,10 +1,9 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildPythonApplication,
|
python3Packages,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
setuptools,
|
|
||||||
}:
|
}:
|
||||||
buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "djhtml";
|
pname = "djhtml";
|
||||||
version = "3.0.8";
|
version = "3.0.8";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
@ -16,16 +15,16 @@ buildPythonApplication rec {
|
|||||||
hash = "sha256-1bopV6mjwjXdoIN9i3An4NvSpeGcVlQ24nLLjP/UfQU=";
|
hash = "sha256-1bopV6mjwjXdoIN9i3An4NvSpeGcVlQ24nLLjP/UfQU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ python3Packages.setuptools ];
|
||||||
|
|
||||||
pythonImportsCheck = [ "djhtml" ];
|
pythonImportsCheck = [ "djhtml" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://github.com/rtts/djhtml";
|
homepage = "https://github.com/rtts/djhtml";
|
||||||
description = "Django/Jinja template indenter";
|
description = "Django/Jinja template indenter";
|
||||||
changelog = "https://github.com/rtts/djhtml/releases/tag/${src.tag}";
|
changelog = "https://github.com/rtts/djhtml/releases/tag/${src.tag}";
|
||||||
license = licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
maintainers = [ ];
|
maintainers = with lib.maintainers; [ ];
|
||||||
mainProgram = "djhtml";
|
mainProgram = "djhtml";
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -395,8 +395,6 @@ with pkgs;
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
djhtml = python3Packages.callPackage ../development/tools/djhtml { };
|
|
||||||
|
|
||||||
dnf-plugins-core = with python3Packages; toPythonApplication dnf-plugins-core;
|
dnf-plugins-core = with python3Packages; toPythonApplication dnf-plugins-core;
|
||||||
|
|
||||||
dnf4 = python3Packages.callPackage ../development/python-modules/dnf4/wrapper.nix { };
|
dnf4 = python3Packages.callPackage ../development/python-modules/dnf4/wrapper.nix { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user