lol

python3Packages.strip-tags: Init at 0.5.1 (#375957)

authored by

Gaétan Lepage and committed by
GitHub
89e147c4 ff0654c4

+45
+45
pkgs/by-name/st/strip-tags/package.nix
··· 1 + { 2 + lib, 3 + python3Packages, 4 + fetchFromGitHub, 5 + versionCheckHook, 6 + }: 7 + 8 + python3Packages.buildPythonApplication rec { 9 + pname = "strip-tags"; 10 + version = "0.5.1"; 11 + pyproject = true; 12 + 13 + src = fetchFromGitHub { 14 + owner = "simonw"; 15 + repo = "strip-tags"; 16 + tag = version; 17 + hash = "sha256-Oy4xii668Y37gWJlXtF0LgU+r5seZX6l2SjlqLKzaSU="; 18 + }; 19 + 20 + build-system = with python3Packages; [ 21 + setuptools 22 + ]; 23 + 24 + dependencies = with python3Packages; [ 25 + beautifulsoup4 26 + click 27 + html5lib 28 + ]; 29 + 30 + nativeCheckInputs = with python3Packages; [ 31 + pytestCheckHook 32 + pyyaml 33 + versionCheckHook 34 + ]; 35 + versionCheckProgramArg = [ "--version" ]; 36 + 37 + meta = { 38 + description = "CLI tool for stripping tags from HTML"; 39 + homepage = "https://github.com/simonw/strip-tags"; 40 + changelog = "https://github.com/simonw/strip-tags/releases/tag/${version}"; 41 + license = lib.licenses.asl20; 42 + maintainers = with lib.maintainers; [ erethon ]; 43 + mainProgram = "strip-tags"; 44 + }; 45 + }