Merge pull request #278048 from fabaff/cansina

cansina: init at 0.9

authored by Fabian Affolter and committed by GitHub e3b3d7b3 2a3d76fa

+39
+39
pkgs/by-name/ca/cansina/package.nix
···
··· 1 + { lib 2 + , python3 3 + , fetchFromGitHub 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "cansina"; 8 + version = "0.9"; 9 + pyproject = true; 10 + 11 + src = fetchFromGitHub { 12 + owner = "deibit"; 13 + repo = "cansina"; 14 + rev = "refs/tags/${version}"; 15 + hash = "sha256-vDlYJSRBVFtEdE/1bN8PniFYkpggIKMcEakphHmaTos="; 16 + }; 17 + 18 + nativeBuildInputs = with python3.pkgs; [ 19 + setuptools 20 + ]; 21 + 22 + propagatedBuildInputs = with python3.pkgs; [ 23 + asciitree 24 + requests 25 + ]; 26 + 27 + pythonImportsCheck = [ 28 + "cansina" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "Web Content Discovery Tool"; 33 + homepage = "https://github.com/deibit/cansina"; 34 + changelog = "https://github.com/deibit/cansina/blob/${version}/CHANGELOG.md"; 35 + license = licenses.gpl3Only; 36 + maintainers = with maintainers; [ fab ]; 37 + mainProgram = "cansina"; 38 + }; 39 + }