summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/nonestorage/default.nix
blob: 3919754935d67eb11c8a50ba799fea1f4cad58d0 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
}:

buildPythonPackage rec {
  pname = "nonestorage";
  version = "0.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "nonebot";
    repo = "nonestorage";
    tag = "v${version}";
    hash = "sha256-Y8Ywpp5/FRT8jIhSaMtuzMXs3UJROh5SrFdIZD7ysBA=";
  };

  build-system = [ hatchling ];

  pythonImportsCheck = [ "nonestorage" ];

  # no test
  doCheck = false;

  meta = {
    description = "Simple library that provides local storage folder detect";
    homepage = "https://github.com/nonebot/nonestorage";
    changelog = "https://github.com/nonebot/nonestorage/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ moraxyc ];
  };
}