summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/streamlit-card/default.nix
blob: 75a66338ed16f5666d282b93775109c3ba6d6c53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  streamlit,
}:

buildPythonPackage rec {
  pname = "streamlit-card";
  version = "1.0.2";
  pyproject = true;

  src = fetchPypi {
    pname = "streamlit_card";
    inherit version;
    hash = "sha256-gAHNXt2Kbi2zbugfN9xkXwj3jCGiupaEAxdsaLTzPLE=";
  };

  build-system = [ setuptools ];

  dependencies = [ streamlit ];

  pythonImportsCheck = [ "streamlit_card" ];

  # Module has no tests
  doCheck = false;

  meta = {
    description = "Streamlit component to make UI cards";
    homepage = "https://github.com/gamcoh/st-card";
    changelog = "https://github.com/gamcoh/st-card/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}