1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 htmltools,
5 lib,
6 pytestCheckHook,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "faicons";
12 version = "0.2.2";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "posit-dev";
17 repo = "py-faicons";
18 tag = "v${version}";
19 hash = "sha256-okkZ8anirjcZcZeB3XjvNJpiYQEau+o6dmCGqFBD8XY=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 htmltools
26 ];
27
28 pythonImportsCheck = [ "faicons" ];
29
30 nativeCheckInputs = [
31 pytestCheckHook
32 ];
33
34 meta = {
35 changelog = "https://github.com/posit-dev/py-faicons/blob/${src.tag}/CHANGELOG.md";
36 description = "Interface to Font-Awesome for use in Shiny";
37 homepage = "https://github.com/posit-dev/py-faicons";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ dotlambda ];
40 };
41}