Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 31 lines 679 B view raw
1{ 2 lib, 3 buildPythonApplication, 4 fetchFromGitHub, 5 setuptools, 6}: 7buildPythonApplication rec { 8 pname = "djhtml"; 9 version = "3.0.7"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "rtts"; 14 repo = "djhtml"; 15 tag = version; 16 hash = "sha256-W93J3UFUrCqT718zoGcu96ORYFt0NLyYP7iVWbr8FYo="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 pythonImportsCheck = [ "djhtml" ]; 22 23 meta = with lib; { 24 homepage = "https://github.com/rtts/djhtml"; 25 description = "Django/Jinja template indenter"; 26 changelog = "https://github.com/rtts/djhtml/releases/tag/${version}"; 27 license = licenses.gpl3Plus; 28 maintainers = [ ]; 29 mainProgram = "djhtml"; 30 }; 31}