mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 13:53:05 +00:00
29 lines
601 B
Nix
29 lines
601 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
}:
|
|
buildPythonApplication rec {
|
|
pname = "djhtml";
|
|
version = "3.0.5";
|
|
|
|
format = "setuptools";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rtts";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-m13lw1x+URAYuDc0gXRIxfRnd6kQxeAuLDqYXeOgQE0=";
|
|
};
|
|
|
|
pythonImportsCheck = [ "djhtml" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/rtts/djhtml";
|
|
description = "Django/Jinja template indenter";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ thubrecht ];
|
|
};
|
|
}
|